[TxMt] Problem with drag command and JavaScript file

a!e muñoz bomberstudios at gmail.com
Tue May 30 19:21:54 UTC 2006


Hi there,

I'm trying to create a drag command on the HTML bundle to have
TextMate insert a <script src="..." /> snippet whenever I drag a .js
file on a HTML file.

I've duplicated the "Insert CSS" snippet but whenever I try to change
the File Types to 'js' the text field clears itself...

Any ideas what may be happening? Is the drag command stuff borked? It
seems to fail only with .js files (I have a drag command I created
some time ago for .as files and it works perfect...)

I'm using TextMate 1.5.1 1031 on 10.4.6 PPC

Thanks in advance...


a!e



More information about the textmate mailing list