[SVN] [PATCH] (JavaScript) Patch for Anonymous Function snippet: don’t append semicolon

Martin Kühl martin.kuehl at gmail.com
Sat Jan 17 14:56:38 UTC 2009


Hi all,

anonymous functions are commonly used as arguments to other functions,
and in that context, a semicolon is a syntax error.
This patch adapts the snippet for anonymous functions to not add a
semicolon after its definition.

Thanks,
Martin

Patch on pastie:
http://pastie.textmate.org/private/7lxaqsdvgek9oxyxuh6lxa

-- 
"when you don't create things, you become defined by your tastes
rather than ability. your tastes only narrow & exclude people. so
create." — _why
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pastie-363257.diff
Type: application/octet-stream
Size: 516 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate-dev/attachments/20090117/20346d3d/attachment.diff>


More information about the textmate-dev mailing list