In fact, it's impossible.
> And when the arguments are renamed during the minification, all
> the labels in function calls can be minified accordingly too.

You can't statically determine which function will be called. Minifier
CAN'T know in general case if your $(selector='wow') calls jQuery or
some other function at minify time.

So: you can't rely on optional parameters in any CDN-distributed file
(because your minifier doesn't know about it's pre-minification
identifiers), minifier have to avoid any parameters names clash at any
cost.

Possible solution: add gramar explicitly declare optional parameters
by keyword to avoid minifaction of their names names.
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to