script.aculo.us 1.6.5
November 8th, 2006I’ve just pushed script.aculo.us 1.6.5 for your download pleasure. It’s a maintenance release that adds a few tweaks here and there—read on!
- Update to Prototype 1.5.0_rc1 revision [5462]
- Support the HTML ‘for’ attribute in Builder by using ‘htmlFor’, fixes #6472 [gjones, tdd]
|
var node = Builder.node('label', { htmlFor: 'myinput' }); |
- Add support to run a specific failing unit test by clicking on the corresponding test result, fixes #6290 [leeo]
- Add modifier key support to Event.simulateMouse, fixes #6391 [savetheclocktower]
- Add new ‘with-last’ queue position option to queue effects to occur in parallel with the last effect to start in the queue
- Add new special core effect Effect.Event for one-shot events that follow timelines defined by effect queues
1 2 3 |
new Effect.Event({ afterFinish:function(){ // do some code here }, position: 'end' }); |
- Fix an possible crash of IE on Effect.SlideUp, fixes #3192 [thx nel]
- Add Builder.build() to create nodes from strings containing HTML, [DHH]
|
var node = Builder.build("<p>this is <b>neat!</b></p>"); |
- Add a pulses parameter to Effect.Pulsate to control the amount of pulses, fixes #6245 [leeo]
For example, this will pulsate twice (if the option is not given, it defaults to five pulses):
|
Effect.Pulsate('d8', {pulses: 2});
|
- Fix an issue with clicking on a slider span resulting in an exception, fixes #4707 [thx sergeykojin]
- Fix an issue with Draggables when no options are supplied, fixes #6045 [thx tdd]
This should be the last release before Ruby on Rails 1.2 comes out—the next thing will be script.aculo.us 1.7! Lots of good and cool patches are waiting for their addition, and should make it into the 1.7 release.
As always, kudos to the community for supplying patches, bug reports and tests—keep it coming!
Tweet