From 269f63f493352d1c160db176cb246df2316c393b Mon Sep 17 00:00:00 2001 From: duff Date: Mon, 21 Aug 2006 12:10:57 +0000 Subject: [PATCH] =?UTF-8?q?=E2=80=A2=20allow=20whitespace=20before=20colon?= =?UTF-8?q?=20when=20declaring=20functions=20as=20=E2=80=98foo:=20function?= =?UTF-8?q?=20()=20{=20=E2=80=A6=20}=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/JavaScript.tmbundle@4874 dfb7d73b-c2ec-0310-8fea-fb051d288c6d --- Syntaxes/JavaScript.plist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Syntaxes/JavaScript.plist b/Syntaxes/JavaScript.plist index cb30254..67f7736 100644 --- a/Syntaxes/JavaScript.plist +++ b/Syntaxes/JavaScript.plist @@ -65,7 +65,7 @@ comment match stuff like: foobar: function() { … } match - \b([a-zA-Z_?\.$]+\w*):\s+\b(function)?\s*\((.*?)\) + \b([a-zA-Z_?\.$]+\w*)\s*:\s+\b(function)?\s*\((.*?)\) name meta.function.js