> Hmmm ... I wonder if a table on the wiki, that contained all the > attributes and methods of Prototype objects and linked to their > definitions in whichever API would be useful ...
I think that would be a fantastic idea. I have frequently wanted such a thing -- an API mash-up, if you will. :-) It would be very important not to put too much information in the table itself (to avoid confusion and getting out of date), just literally the name and a one-liner of what it's for, then a link to the real docs for it. (Linking to the ECMAScript spec is a PITA because it's a monolithic PDF, but perhaps for many of those standard functions we could link to the MDC[1] page or some existing 3rd party reference like w3schools[2] -- anyone have a better one? -- as well as the ECMA download page.) [1] https://developer.mozilla.org [2] http://www.w3schools.com -- T.J. :-) On Apr 3, 1:01 pm, ColinFine <[email protected]> wrote: > On Apr 3, 10:51 am, "T.J. Crowder" <[email protected]> wrote: > > > Hi, > > > Event#preventDefault isn't a Prototype function, it's a standard > > one:http://www.w3.org/TR/2001/WD-DOM-Level-3-Events-20010823/events.html > > > Prototype does provide emulation of it on browsers that don't provide > > it natively, though. > > > HTH, > > -- > > T.J. Crowder > > tj / crowder software / com > > Independent Software Engineer, consulting services available > > and so, an answer to your more general question is that several > Objects in Prototype are extensions of native Javascript Objects, and > so their API is a composite of the Client-side Javascript API and the > Prototype API. It is unfortunate that AFAIK there is nowhere that you > can look them both up together. > > Hmmm ... I wonder if a table on the wiki, that contained all the > attributes and methods of Prototype objects and linked to their > definitions in whichever API would be useful ... > > Colin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---
