Skip to content

Instantly share code, notes, and snippets.

@L-fours-gists
Created October 5, 2012 01:13
Show Gist options
  • Save L-fours-gists/3837489 to your computer and use it in GitHub Desktop.
Save L-fours-gists/3837489 to your computer and use it in GitHub Desktop.
JavaScript: jQuery Wrapper
<snippet>
<content><![CDATA[
(function(\$) {
\$(document).ready(function(){
${1:// body}
});
}) (jQuery);
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>jw</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.JavaScript</scope> -->
<description>jQuery Wrapper</description>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment