[TxMt] Javascript method snippet

Allan Odgaard throw-away-1 at macromates.com
Mon Feb 20 11:02:11 UTC 2006


On 19/2/2006, at 4:31, Mike Ter Louw wrote:

> [...] Any chance on getting something like this included with  
> Textmate out of
> the box?

I added the second version of the prototype snippet (but with open  
brace on a new line, to match the function snippet -- I don’t know if  
there’s a de-facto brace standard for JS!?!).

> Also, the fun snippet that's included uses "# body..." instead of  
> "// body...".  Is this intentional, or was the hash just forgotten  
> when porting the snippet from another language?

The latter, I presume :) I fixed it, thanks.





More information about the textmate mailing list