Last Updated: February 25, 2016
· koryteg

Escape $ for jQuery snippets in Sublime Text

or you will get this sweet error:
Error parsing content for snippet Packages/User/iife.sublime-snippet: Empty key

this is because snippets use $ for your quick "tab to" spots. your snippets

quick example of my IIFE snippet:

            (function (\$) {
                \$(document).ready(function () {
                    ${1:isolated jquery safe code}

Have a fresh tip? Share with Coderwall community!

Post a tip