I've started a full port of script.aculo.us library to MochiKit: effects, drag&drop/sortables, autocompleter/ajax utilities. I put all extra functions in New.js.
I've got the 3 files working without prototype, but there's still a lot of work:
- Reduce the size of the New.js file, by using more of the core library
- Tests (only begin test in Firefox for now), add unit tests if possible
- Documentation
The script.aculo.us demos work with little changes. Some source codes can be seen here in the scriptaculous branch in SVN ( http://trac.mochikit.com/browser/mochikit/branches/scriptaculous).
I hope it'll be useful.
Thanks Bob Ippolito and Thomas Fuchs.
Notes
This is in stage to be integrate into MochiKit. If you want to test latest code (less bugs, differents namespaces), go here : svn co http://svn.mochikit.com/mochikit/branches/scriptaculous
Comments:
Very nice, so looking forward to this, many kudos! -- sri This is awesome, just one question, why is there Effects.2.js New.2.js and DragAndDrop.2.js are these just updated versions?
--> Yes it's an update.
Presumably New.js will eventually be merged into Mochikit.js and Effects.js into Visual.js, right?
--> it's not decided, probably you'll see in 1.4. Same apply for Effects into Visual.
Also, is anyone working on documentation for the Scriptaculous port. It _would_ be a requirement for finally porting it into the trunk. -- wycats@…
--> Everyone is welcome to contribute, especially docs and tests :).
Why a port? Why not use the prototype-based version - apart from the rediculous kilobytes of Javascript involved ;)
--> Because I don't want to use Prototype at all.
Attachments
- Effects.js (35.3 KB) - added by thomas 3 years ago.
- DragAndDrop.js (23.7 KB) - added by thomas 3 years ago.
- Controls.js (29.6 KB) - added by thomas 3 years ago.
- New.js (28.5 KB) - added by thomas 3 years ago.
- Effects.2.js (35.3 KB) - added by thomas 3 years ago.
- New.2.js (28.5 KB) - added by thomas 3 years ago.
- DragAndDrop.2.js (23.7 KB) - added by thomas 3 years ago.
