* Merge assertElementsMatch and assertElementMatches from Prototype’s unittest.js
* 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
* Add support for onStart, onDrag and onEnd events directly on Draggables (invoked from the Draggables.notify), fixes
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
* Added delay option to Draggables and Sortables, see test/functional/dragdrop_delay_test.html for usage, implements
* Add version and timestamp to indvidual library files for easier identification (the files are preprocessed by the Rake fresh_scriptaculous task), fixes
* Add assertIndentical and assertNotIdentical unit test assertions, which test for equality and common type, fixes
* Add integration test for Ajax autocompleter for results with no linebreaks
* 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
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
* Fix selection of correct option in SELECT element generated by InPlaceCollectionEditor for indexed option arrays, fixes
* Fix an issue with redrawing ghosted draggables that are inside a scrolled container, fixes
* Fix autoscrolling inside scrollable containers when window is scrolled too, fixes
* Fix autoscrolling when dragging an element unto a scrollable container, fixes
* Fix a condition where overriding the endeffect on Draggables without overriding the starteffect too leads to a Javascript error
* Fix a possible error with the drag/drop logic
* Fix various issues with IE detection and Opera, and setOpacity, fixes
* Remove revert cache code obsoleted by #4706, fixes(again)
다운로드하여 적용해 보았습니다. 다행이도 별다른 문제는 없군요 ^^; 변경된 스펙을 짬짬이 뜯어봐야 겠습니다.
Comments