0

Putting some jQuery in a snippet breaks the snippet

o_O hace 11 años 0

To reproduce:


Save a snippet with "$(function(){})" as complete with tab trigger.


Result:


Typing your trigger and pressing tab just deletes your trigger. I.e myJsSnippet + tab will delete myJsSnippet. 


Expected result:


The tab trigger should be replaced with "$(function(){})"