RightJS v1.5.5 is out
Rolling out the next version of RightJS with the number 1.5.5
- IMPORTANT! in this version I've nuked deprecated .addMethods method used for DOM elements extending. You need to rename them to .include in your apps and also need to update some plugins. See below.
- Native units like Array, String, etc., received class level methods like Array.include, String.include, which should be used for those units extending and which are consistent with another units extending practices
- Element class received new method called Element#stop. This method immediately stops and cancels all visual effects that are working on this element
- Observer#stopObserving method now can receive hash arguments the same way Observer#on method does. So you can create shared events handling collections and use them with both of the methods.
- Event.behave method was added, it received the functionality from the String#behave method, the difference that it returns an object with actual event handlers that you can use later to unbind events from the document.
- The $() function was fixed to support IE 6 and 7 non-standard behavior when the document.getElementsById finds elements not by IDs only, but by NAME attribute as well. Now this function searches by IDs only on old IE browsers, just as it should
- Also a bug with IE8 events handling that caused wrong positions calculation was fixed in this version
Plugin Updates
As I've nuked the old .addMethods interface, all of the plugins out of the Goods and the InEdit plugin out of the UI project were updated to work correctly with this version of RightJS.
Please, update your scripts if you use some of them.
That's all.
Enjoy!
Back to the news