It's very likely that in MooTools 2 you will be able to do any of those you like. Native prototype extension may very likely be optional. Imagine a checkbox in the builder 'extend natives by default'. You would then still be able to extend them manually in your code of course.
Personally, I'm likely to keep choosing to extend natives in most of my projects. But I'm excited that soon anyone can choose to extend them or not. I imagine the jQuery community will likely choose not to extend them by default, and that's fine. I want them using some MooTools stuff too. — Thomas Aylott - SubtleGradient - MooTools - Sencha (from iPhone 4) On Jun 14, 2011, at 1:31 PM, Stewart Mckinney <[email protected]> wrote: > So, in MooTools , you have this: > > "Hi".doStringMethod(); > > In jQuery: > > $.doStringMethod("Hi"); CommonJS synchronous modules: > var object = require("object") > > object.doStringMethod("Hi") CommonJS asynchronous modules: require("object", function(object){ object.doStringMethod("Hi") })
