Created
September 16, 2011 06:47
-
-
Save neosenate/1221385 to your computer and use it in GitHub Desktop.
Sublime Text Javascript Module Snippet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[var ${1:module_name} = function () { | |
"use strict"; | |
var ${2:function_name} = function() { | |
}; | |
return { | |
${2:function_name}: ${2:function_name} | |
}; | |
}();]]></content> | |
<tabTrigger>module</tabTrigger> | |
<scope>source.js</scope> | |
<description>Creates new empty module</description> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment