I have created a few different snippets but for some reason this one wont work. What am I missing? Any help would be great.
<![CDATA[ $("document").ready(function(){ ${1} }); ]]> docreadyJquery user made snippets wont work
iamntz
#4
<snippet>
<content><![CDATA[<script type="text/javascript" src="jquery-1.8.2.js"></script>
<script type="text/javascript">
jQuery(document).ready(function(\$){
$0
});
</script>
]]></content>
<tabTrigger>docready</tabTrigger>
<scope>text.html</scope>
</snippet>
This one works just fine.
0 Likes
iamntz
#6
Well, to work on js files (which i just realized that is dumb). You may want to remove that line or replace it with text.html
0 Likes