On Tue, 2013-10-22 at 22:21 -0700, Sarvi Shanmugham wrote:
>
>
> On Tuesday, October 22, 2013 9:42:19 PM UTC-7, Kees Bos wrote:
> On Tue, 2013-10-22 at 20:29 -0700, Sarvi Shanmugham wrote:
> > I tried to hack a bit to simplify the generated code to see
> how it can
> > be done and this is what I got.
> > I left the $ alone for the reasons Lex mentioned. Turned
> the
> > dictionary accesses into object notation and
>
> That looks cleaner, but inhibits the use of closure compiler,
> since that
> will mangle object attributes (at high optimization).
> would you refering me to something that explains this? I am relative
> noob with this stuff.
>
It's somewhere in the docs or command line help. This is the issue (from
memory) after running closure compiler:
foo.something gets compressed to foo.XX
foo['something'] becomes foo.something
--
---
You received this message because you are subscribed to the Google Groups
"Pyjs.org Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.