From 3a0a35288304ab5289a1815055623b18de4dc9f6 Mon Sep 17 00:00:00 2001 From: jeresig Date: Tue, 21 Sep 2010 08:53:34 -0400 Subject: [PATCH] Escape RegExp braces to sooth JSLint's temper. --- src/data.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: {}, -- 2.39.5