yeah, i just brought it up as fastinit would be fairly trivial to implement, and seeing as updating prototype is going to take awhile, it might be worth it
regardless, ondomload will surely be a welcome addition
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
yeah, i just brought it up as fastinit would be fairly trivial to implement, and seeing as updating prototype is going to take awhile, it might be worth it
regardless, ondomload will surely be a welcome addition
Ajaxian has just posted a summary of Prototype 1.6
This is big. Prototype 1.6 is a major upgrade, and the first RC has been released. There is a large number of updates and my pet favourites are:
* The event system has been cleaned up. It now works the way you would expect, with “this†doing the right thing
* You can observe and fire custom events on the DOM (a la Dojo)
* Thanks to the custom events, DOMContentLoaded is normalized across browsers via: document.observe(â€Âcontentloadedâ€Â, function() { … })
* AOP-lite: Simple interception and function currying
* Function delay and defer: (function() { $(â€Âformâ€Â).fire(â€ÂrequestSentâ€Â) }).defer();
* Ajax.Response: Now you can more easily work with JSON
* DOM Builder
* Template API: “#{last}, #{first}â€Â.interpolate({ first: “Andrewâ€Â, last: “Dupont†})
* Improved support for JavaScript 1.6 and WHATWG 1.0 standards
Be sure to take a detailed look at this puppy.