Skip to content

Instantly share code, notes, and snippets.

@nemes1s
Created September 5, 2013 10:58
Show Gist options
  • Save nemes1s/6448701 to your computer and use it in GitHub Desktop.
Save nemes1s/6448701 to your computer and use it in GitHub Desktop.
<snippet>
<content><![CDATA[
var ${1:name} = (function($1, \$, document, window) {
"use strict";
${2://body}
return $1;
})($1 || {}, jQuery, document, window);
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>jsmod</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.js</scope>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment