From: jeresig Date: Tue, 21 Sep 2010 12:53:34 +0000 (-0400) Subject: Escape RegExp braces to sooth JSLint's temper. X-Git-Tag: 1.4.3rc1~97 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3a0a35288304ab5289a1815055623b18de4dc9f6;p=jquery.git Escape RegExp braces to sooth JSLint's temper. --- diff --git a/src/data.js b/src/data.js index 295ea794a..cf3cf606a 100644 --- a/src/data.js +++ b/src/data.js @@ -1,7 +1,7 @@ (function( jQuery ) { var windowData = {}, - rbrace = /^(?:{.*}|\[.*\])$/; + rbrace = /^(?:\{.*\}|\[.*\])$/; jQuery.extend({ cache: {},