From f6ff90bedcc468f230a776f3d04f9b5278109d4e Mon Sep 17 00:00:00 2001 From: subtlegradient Date: Sun, 9 Dec 2007 08:19:12 +0000 Subject: [PATCH] Split out object-properties into the repository to keep things clean git-svn-id: http://macromates.com/svn/Bundles/trunk/Review/Bundles/JavaScript.tmbundle@8632 dfb7d73b-c2ec-0310-8fea-fb051d288c6d --- Syntaxes/JavaScript.plist | 204 ++++++++++++++++++++------------------ 1 file changed, 107 insertions(+), 97 deletions(-) diff --git a/Syntaxes/JavaScript.plist b/Syntaxes/JavaScript.plist index 1895106..89128cd 100644 --- a/Syntaxes/JavaScript.plist +++ b/Syntaxes/JavaScript.plist @@ -185,103 +185,8 @@ patterns - captures - - 1 - - name - invalid.illegal.delimiter.object.comma.js - - - match - (,)\s*+(?=\}) - - - captures - - 1 - - name - string.quoted.double.js - - 2 - - name - punctuation.definition.string.js - - 3 - - name - constant.other.object.key.js - - 4 - - name - punctuation.definition.string.js - - 5 - - name - punctuation.separator.objects.js - - - comment - "something" : - match - ((")([^"]*)(")\s*)(:)\s*+(?!function) - - - captures - - 1 - - name - string.quoted.single.js - - 2 - - name - punctuation.definition.string.js - - 3 - - name - constant.other.object.key.js - - 4 - - name - punctuation.definition.string.js - - 5 - - name - punctuation.separator.objects.js - - - comment - 'something' : - match - ((')([^']*)(')\s*)(:)\s*+(?!function) - - - captures - - 1 - - name - constant.other.object.key.js - - 2 - - name - punctuation.separator.objects.js - - - comment - something : - match - \b(\w+\b\s*)(:)\s*+(?!function) + include + #object-properties include @@ -647,6 +552,111 @@ + object-properties + + patterns + + + captures + + 1 + + name + invalid.illegal.delimiter.object.comma.js + + + match + (,)\s*+(?=\}) + + + captures + + 1 + + name + string.quoted.double.js + + 2 + + name + punctuation.definition.string.js + + 3 + + name + constant.other.object.key.js + + 4 + + name + punctuation.definition.string.js + + 5 + + name + punctuation.separator.objects.js + + + comment + "something" : + match + ((")([^"]*)(")\s*)(:)\s*+(?!function) + + + captures + + 1 + + name + string.quoted.single.js + + 2 + + name + punctuation.definition.string.js + + 3 + + name + constant.other.object.key.js + + 4 + + name + punctuation.definition.string.js + + 5 + + name + punctuation.separator.objects.js + + + comment + 'something' : + match + ((')([^']*)(')\s*)(:)\s*+(?!function) + + + captures + + 1 + + name + constant.other.object.key.js + + 2 + + name + punctuation.separator.objects.js + + + comment + something : + match + \b(\w+\b\s*)(:)\s*+(?!function) + + + scopeName source.js.base