• ⇧↩ (shift + enter) will turn the current word as a function (like the ruby one does). ⇧⌃↩ (shift + control + enter) will make it into a method instead (blah: function() { ... })

• Cleaned up some snippets like setTimeout and the if/if else/function and others

git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/JavaScript.tmbundle@5308 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
This commit is contained in:
haraldmartin
2006-09-26 15:20:02 +00:00
parent 9fff45d36d
commit 7c8a8d1c75
10 changed files with 86 additions and 10 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>function($1){${0:$TM_SELECTED_TEXT}};</string>
<string>function($1) {${0:$TM_SELECTED_TEXT}};</string>
<key>name</key>
<string>function(){};</string>
<key>scope</key>