March 5th, 2010 chenghong
The final DOMAssistant 2.8 is now available for download. There are numerous new features and improvements in 2.8, most notably:
For a complete list of changes and bug fixes, please refer to the release notes. The documentation has also been updated for both online and offline reading.
Note that there is a potential imcompatiblity with version 2.7.x in events handling. Do read about it on the beta 1 release post.
Thank you and we hope you like the latest DOMAssistant!
4 Comments
February 9th, 2010 chenghong
First release candidate for 2.8 is available!
Changes since beta 4:
- [Chg] clientX/Y are now left untouched. Use pageX/Y instead to retrieve mouse coordinates relative to the top left of a document
- [Fix] mouseenter/mouseleave do not work in relayEvent
- [Fix] Event.relatedTarget incorrect in IE
- [Fix] Event objects are sometimes ‘fixed’ more than once
- [Fix] $(window).addEvent() adds the event twice in certain browsers
Download
Work is now concentrated on stabilization and performance enhancement.
No Comments
February 4th, 2010 chenghong
DOMAssistant 2.8 introduces event delegation since beta 1, via the methods relayEvent() and unrelayEvent(). Event delegation relies on the bubbling characteristics of events, which, unsurprisingly, do not behave consistently across browsers. Beta 1 ensures support for ‘focus’ and ‘blur’; beta 4 takes it a step further by providing support for traditionally non-bubbly form events on IE - ’submit’, ‘reset’, ‘change’ and ’select’. Special thanks to Greg Reimer for inspiration of the technique.
Changes since beta 3:
- [New] Added relayEvent support for form events submit/reset/change/select
- [New] Cross-browser support for mouseenter and mouseleave events
- [Chg] removeEvent() now removes all events that are bound to an element (including inline ones) when triggered without arguments
- [Fix] [selected=selected], [readonly=readonly] now work the same as [selected], [readonly]
- [Fix] Memory leakage associated with data storage and events
- [Fix] Minor performance improvement in internal cleanUp method
Download
Feature set for DOMAssistant 2.8 will be freezed from this point onward. Now time for bug hunting and fixing!
3 Comments
February 1st, 2010 chenghong
Changes since beta 2:
- [New] Ability to avoid global namespace collision of $ and $$ with DOMAssistant.harmonize()
- [Fix] ID selectors containing $ and = do not work
- [Fix] Some events cannot be removed via removeEvent, such as mutation events
Introducing the ‘harmony’ mode
The harmony mode allows DOMAssistant to live with other Javascript libraries on the same page without conflict. To use it, just invoke DOMAssistant.harmonize(), like so:
<script type="text/javascript" src="DOMAssistantCompressed.js"> </script>
<script type="text/javascript">
DOMAssistant.DOMReady( function() {
// Use $ and $$ like you always have
} );
DOMAssistant.harmonize();
var divs = DOMAssistant.$('div');
</script>
<script type="text/javascript" src="AnotherLib.js"> </script>
Download
We appreciate if you could report any abnormalities you might find in this beta. Version 2.8 is now closer to release than ever!
3 Comments
January 26th, 2010 chenghong
Changes since beta 1:
- [Chg] Updated implementation of event.clientX/Y and event.relatedTarget
- [Chg] focus/blur on IE now uses activate/deactivate instead of focusin/focusout for better IE5.5 support
- [Fix] Regression bug where event handler cannot be added again after being removed.
- [Fix] :nth-of-type, :only-of-type buggy in IE
- [Fix] Negated pseudo-classes do not work
- [Fix] Selectors that start with >, + and ~ do not work in IE
- [Fix] Comment nodes not skipped in IE for certain selectors
- [Fix] setStyle(’display’, ‘none’) does not work properly in IE when the element is relatively positioned
Download
Although beta 2 has been tested rigorously on the updated unit test suite, please report any bugs you might find.
4 Comments
June 12th, 2009 chenghong
After being in development for the past few months, DOMAssistant 2.8 is finally ripe for public testing. Version 2.8 brings a modest set of new features and enhancements, most notably event delegation and element storage, as well as fixes many ugly bugs from the 2.7 branch. A formal unit test suite is also introduced for more systematic testing on supported browsers. Continue reading
18 Comments
October 31st, 2008 chenghong
Update: Version 2.7.4 has been released to address a regression bug that affects the addClass(), removeClass() and replaceContent() methods. Please update to this version. Sorry if it has caused any inconveniences!
We are pleased to announce that your favorite Javascript library has just received an update! Yes, it’s a zero-point-zero-one version increment, but make no mistake about it - DOMAssistant 2.7.3, while continuing its promise of being extremely light and fast, sees the addition of some much requested features and fixes, including:
Continue reading
3 Comments
October 3rd, 2008 chenghong
Four months after BoxIt Rounded Corners, Samuel Desnoës has released yet another plugin for DOMAssistant.
As its name DOMAssistant.Tabs suggests, it allows you to create a tab-based navigation system on your webpage with a simple call:
$$(’myContainer’).doTabs();
Released under MIT license, the demo and download link are available on the official website.
No Comments
October 2nd, 2008 chenghong
PURE is a cross-browser, cross-library templating engine that runs on the client-side to render backend JSON and XML data into HTML. It is extremely lightweight, fast, and reduces complex data handling logic into a single line.
Today, the PURE team announces official support for DOMAssistant. We are proud and at the same time happy to see DOMAssistant picking up momentum on real world usage.
Do check out the PURE-DOMAssistant demo and give this nifty little library a try!
No Comments
September 21st, 2008 chenghong
With 2.7.2, we continue to fix the inevitable bugs that have slipped through. The changes in this release are:
- Fixed regression bug on $ with multiple arguments
- Fixed passed parameters not checked before their usage in attrToXpath()
- Fixed buggy :checked behavior in non-IE browsers
- Two new methods preview: triggerEvent() and replace()
Continue reading
3 Comments