All of the native prototype methods are available as generics. This is part of the Native (soon to be Type) functionality. Element.setStyle(element, style) for example. These aren't documented because they aren't really intended to be used by users. MooTools has "private" methods and variables that aren't in the docs. These items aren't promised to be kept for backwards compatibility; only documented functionality is.
On Mon, May 17, 2010 at 4:14 AM, Rajeev J Sebastian < [email protected]> wrote: > On Mon, May 17, 2010 at 4:32 PM, Michal <[email protected]> wrote: > > On Mon, May 17, 2010 at 10:28 AM, Rajeev J Sebastian > > <[email protected]> wrote: > >> As pointed out earlier by Andre, this method is already documented. > > > > I'm really not seeing it... On > > http://mootools.net/docs/core/Native/String#String:test there are the > > methods for individual strings, e.g. (straight from the docs) > > > > "I like cookies".test("cookie"); > > > > But (from my understanding) the post is about > > > > String.test(o) > > > > Note: the above line is actual code, I don't mean String.test as a > > shorthand for anything else. Is this documented somewhere? > > > Sorry my mistake. > > Regards > Rajeev J Sebastian >
