Fix for javascript "fred = (whatever)" being considered a function

git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/JavaScript.tmbundle@6341 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
This commit is contained in:
subtlegradient
2006-12-12 21:11:31 +00:00
parent f7e26af2b9
commit 494487abe6
+1 -1
View File
@@ -149,7 +149,7 @@
<key>comment</key>
<string>match stuff like: Sound.play = function() { … } or play = function() { … }</string>
<key>match</key>
<string>([a-zA-Z_?\.\$]+\w*)(\.([a-zA-Z_?\.\$]+\w*))?\s*=\s*(function)?\s*(\()(.*?)(\))</string>
<string>([a-zA-Z_?\.\$]+\w*)(\.([a-zA-Z_?\.\$]+\w*))?\s*=\s*(function)\s*(\()(.*?)(\))</string>
<key>name</key>
<string>meta.function.js</string>
</dict>