[TxMt] Small patch to JavaScript.bundle to support reversed function declarations

Allan Odgaard throw-away-1 at macromates.com
Thu Nov 17 14:36:15 UTC 2005


On 17/11/2005, at 3:23, Tony Arnold wrote:

> [...] It could probably be nicer, but pasting that in after the  
> original function code (in the JS language def file) will give you  
> properly highlighted function declarations :)

I added it to the default syntax. Not entirely sure the variable to  
which the function is assigned, should be entity.name.function — but  
then again… and I'm not that familiar with JS anyway :)




More information about the textmate mailing list