Skip to content

Instantly share code, notes, and snippets.

@rahman541
Created September 22, 2016 05:28
Show Gist options
  • Save rahman541/090f79c897409c2a78388f6c0e8b230b to your computer and use it in GitHub Desktop.
Save rahman541/090f79c897409c2a78388f6c0e8b230b to your computer and use it in GitHub Desktop.
Sublime Text 2 snippet for $(document).ready()
<snippet>
<content><![CDATA[
<script type="text/javascript">
jQuery(document).ready(function(\$) {
${1://put all your jQuery goodness in here.}
});
</script>
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>jqready</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- Optional: Description to show in the menu -->
<description>jQuery Document Ready</description>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment