Sublime Forum

jQuery bundle problem/question

#1

Hi all,

I just installed the textmate jquery bundle ( github.com/kswedberg/jquery-tmbundle ) and it worked just fine, the only problem I have is that it doesn’t let me use any of the snippets unless I set the syntax to jQuery, this is fine if I’m editing a .js file but if I’m in a html file and I’m adding some functions inside tags it won’t let me, I assume there’s a way to accomplish this since the regular JS snippets that come with ST2 work inside tags and also .js files which is great but I don’t know how to edit the bundle files in order to do this.

Can anyone help me? Thanks in advance!

0 Likes

#2

Got it to work, i just replaced all “source.js.jquery” lines with “source.js” :smile:

0 Likes