Skip to content

Instantly share code, notes, and snippets.

@fortybillion
Created November 14, 2012 20:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fortybillion/4074453 to your computer and use it in GitHub Desktop.
Save fortybillion/4074453 to your computer and use it in GitHub Desktop.
jQuery Console Logging for Sublime Text 2
<snippet>
<content><![CDATA[
${1:this}.each(function(index, el){console.log(${2:'$1[' + index + ']', }el);});
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>jlog</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