Escape RegExp braces to sooth JSLint's temper.
authorjeresig <jeresig@gmail.com>
Tue, 21 Sep 2010 12:53:34 +0000 (08:53 -0400)
committerjeresig <jeresig@gmail.com>
Tue, 21 Sep 2010 12:53:34 +0000 (08:53 -0400)
src/data.js

index 295ea79..cf3cf60 100644 (file)
@@ -1,7 +1,7 @@
 (function( jQuery ) {
 
 var windowData = {},
-       rbrace = /^(?:{.*}|\[.*\])$/;
+       rbrace = /^(?:\{.*\}|\[.*\])$/;
 
 jQuery.extend({
        cache: {},