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

Thomas Aylott / subtleGradient oblivious at subtlegradient.com
Sun Jan 25 18:09:16 UTC 2009


Good point. This reminds me that I need to clean up the review branch  
and merge it into trunk. This sort of thing has been cleaned up for a  
while on that branch.

--
Thomas Aylott / SubtleGradient (from iPhone)


On Jan 17, 2009, at 9:56 AM, Martin Kühl <martin.kuehl at gmail.com>  
wrote:

> 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
> <pastie-363257.diff>
> _______________________________________________
> textmate-dev mailing list
> textmate-dev at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate-dev



More information about the textmate-dev mailing list