Wednesday, September 6th, 2006
Script.aculo.us 1.6.4 Released
The releases are coming fast and furious for Prototype and script.aculo.us. Thomas Fuchs has sync’d up to the latest Prototype adding features along the way:
- Update Prototype to V1.5.0_rc1 (read more on Justin Palmer’s blog)
- Add experimental alternate syntax for unit tests (Behaviour Driven
Development-style)
- Merge assertElementsMatch and assertElementMatches from Prototype’s
[4986] unittest.js [Sam Stephenson]
- Add assertRespondsTo and shouldRespondTo assertions
// object
var testObj = {
isNice: function() { }
}
// test
assertRespondsTo('isNice', testObj);
- Make Sortable.serialize handle DOM IDs like “some_element_1” correctly, fixes #5324
- Add support for onStart, onDrag and onEnd events directly on Draggables (invoked from the Draggables.notify), fixes #4747 [thx scriptkitchen]
new Draggable('some_id',{
onStart:function(){ /* ... */ },
onDrag:function(){ /* ... */ },
onEnd:function(){ /* ... */ }
});
- Add autoSelect option to Autocompleters to auto select an entry if only one is returned, fixes #5183 [thx cassiano dandrea]
- Added delay option to Draggables and Sortables, see test/functional/dragdrop_delay_test.html for usage, implements #3325 [thx lsimon, tomg]
- Add version and timestamp to indvidual library files for easier identification (the files are preprocessed by the Rake fresh_scriptaculous task), fixes #3015 [thx Tobie]
- Add assertIndentical and assertNotIdentical unit test assertions, which test for equality and common type, fixes #5822 [thx glazedginger]
- Add integration test for Ajax autocompleter for results with no linebreaks, #4149
- Added a custom exception to all base effects when used on non-
existing DOM elements, added a assertRaise method to unit tests
- Add element shortcuts to Builder that can be activated by calling Builder.dump() (see the unit test), fixes #4260 [thx napalm]
Builder.dump();
var element = DIV({id:'ghosttrain'},[
DIV({style:'font-size: 11px; font-weight: bold;'},[
H1('Ghost Train'),
"testtext", 2, 3, 4,
UL([
LI({onclick:'alert(\'test\')'},'click me')
]),
]),
]);
- Make Effect.Puff work correctly for floating elements, fixes #3777
[thx michael hartl]
- Fix selection of correct option in SELECT element generated by
InPlaceCollectionEditor for indexed option arrays, fixes #4789 [thx
steve]
- Fix an issue with redrawing ghosted draggables that are inside a
scrolled container, fixes #3860 [thx gkupps, tsukue]
- Fix autoscrolling inside scrollable containers when window is
scrolled too, fixes #5200 [thx wseitz]
- Fix autoscrolling when dragging an element unto a scrollable
container, fixes #5017 [thx tomg]
- Fix a condition where overriding the endeffect on Draggables without
overriding the starteffect too leads to a Javascript error [thx
Javier Martinez]
- Fix a possible error with the drag/drop logic (affects the solution
to #4706)
- Fix various issues with IE detection and Opera, and setOpacity, fixes
#3886, #5973
- Remove revert cache code obsoleted by #4706, fixes #3436 (again) [thx
tomg]





3.7 rating from 20 votes







Yes
I’ve written a post about script.aculo.us.
I’d like to know if you agree with me on what is written there.
Ya Oleg, see my comments on your post. I don’t agree with you, and should you try scriptaculous, you won’t agree with yourself either. You’re like a non-surfer bashing surfing because you heard from someone who’s best friend’s sister told them that it was not as cool as you thought!