If you're using

On 15 March 2011 17:09, Gary Katsevman <[email protected]> wrote:

> > Once I minify, my methods won't be called the same names (obviously),
> > so I was wondering how I can call that same function.
>
> Just minifying keeps the names and all that the same. Only something
> like the Closure Compiler actually changes anything.
> If you are using the Closure Compiler, you'll probably want their
> firebug plugin to help you figure out what it compiled the name to and
> then you use that.
>
>
This is dangerous, there's no guarantee that the compiled name won't change
at some point.

The accepted way to keep closure compiler from mangling certain names is to
export them - see the docs:
http://code.google.com/closure/compiler/docs/api-tutorial3.html#export
-- 
Nick Morgan
http://skilldrick.co.uk
@skilldrick <http://twitter.com/skilldrick>

-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/[email protected]/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/[email protected]/

To unsubscribe from this group, send email to
[email protected]

Reply via email to