mirror of
https://github.com/kennethreitz-archive/kJS.tmbundle.git
synced 2026-06-05 23:50:19 +00:00
• ⇧↩ (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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user