• fixed function pattern (both in folding and meta.function)

git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/JavaScript.tmbundle@1786 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
This commit is contained in:
duff
2005-09-13 13:12:17 +00:00
parent 22fd97014e
commit 61e19ee658
+2 -2
View File
@@ -10,7 +10,7 @@
<string>htc</string>
</array>
<key>foldingStartMarker</key>
<string>^\s*([A-Za-z0-9.]+s*=\s*)?(function)\b</string>
<string>^\s*([A-Za-z0-9.]+\s*=\s*)?(function)\b</string>
<key>foldingStopMarker</key>
<string>^\s*\}</string>
<key>keyEquivalent</key>
@@ -39,7 +39,7 @@
</dict>
</dict>
<key>match</key>
<string>^\s*(function)\s*([a-zA-Z_]\w*)\s*\(([^)]*)\)</string>
<string>^\s*(function)\s+([a-zA-Z_]\w*)\s*\(([^)]*)\)</string>
<key>name</key>
<string>meta.function.js</string>
</dict>