]> source.dussan.org Git - jquery.git/commitdiff
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 295ea794a51d18807e86a4f862e72f16f8bae57e..cf3cf606a96d88fcc97820d68e92b6471352c7d6 100644 (file)
@@ -1,7 +1,7 @@
 (function( jQuery ) {
 
 var windowData = {},
-       rbrace = /^(?:{.*}|\[.*\])$/;
+       rbrace = /^(?:\{.*\}|\[.*\])$/;
 
 jQuery.extend({
        cache: {},