git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ebb9b2
)
Escape RegExp braces to sooth JSLint's temper.
author
jeresig
<jeresig@gmail.com>
Tue, 21 Sep 2010 12:53:34 +0000
(08:53 -0400)
committer
jeresig
<jeresig@gmail.com>
Tue, 21 Sep 2010 12:53:34 +0000
(08:53 -0400)
src/data.js
patch
|
blob
|
history
diff --git
a/src/data.js
b/src/data.js
index
295ea79
..
cf3cf60
100644
(file)
--- a/
src/data.js
+++ b/
src/data.js
@@
-1,7
+1,7
@@
(function( jQuery ) {
var windowData = {},
- rbrace = /^(?:{.*}|\[.*\])$/;
+ rbrace = /^(?:\{.*\}|\[.*\])$/;
jQuery.extend({
cache: {},