[Prototype-core] Re: $ and $$ in top-level scope
Yes, these are part of the plans. On Aug 31, 11:58 am, Radoslav Stankov rstan...@gmail.com wrote: I really liked the Mootools solution, they have Element.get as an alias of $. I'm wondering if, it will be good idea for Prototype 2.0, Element to become something like Prototype.Element and only if user wants Element to be exposed as global Element object. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype: Core group. To post to this group, send email to prototype-core@googlegroups.com To unsubscribe from this group, send email to prototype-core-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-core?hl=en -~--~~~~--~~--~--~---
[Prototype-core] Re: $ and $$ in top-level scope
A more elegant solution to this problem is to use a closure around the library, avoid using free variables internally and define an numbers of exports for external consumption. Such changes are planned for Prototype 2.0. Hopes this helps. Best, Tobie --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype: Core group. To post to this group, send email to prototype-core@googlegroups.com To unsubscribe from this group, send email to prototype-core-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-core?hl=en -~--~~~~--~~--~--~---
[Prototype-core] Re: $ and $$ in top-level scope
Ah, so much for the dirty hack ;-) As long as the issue (and a solution is on the table), I'm content. Happy coding, Paul --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype: Core group. To post to this group, send email to prototype-core@googlegroups.com To unsubscribe from this group, send email to prototype-core-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-core?hl=en -~--~~~~--~~--~--~---
[Prototype-core] Re: $ and $$ in top-level scope
Did somebody say Prototype 2.0!?! :) When is this planned to release? On Aug 30, 10:33 am, pstickne pstic...@gmail.com wrote: Ah, so much for the dirty hack ;-) As long as the issue (and a solution is on the table), I'm content. Happy coding, Paul --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype: Core group. To post to this group, send email to prototype-core@googlegroups.com To unsubscribe from this group, send email to prototype-core-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-core?hl=en -~--~~~~--~~--~--~---