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!
Awesome! Great idea with the Harmonize function. Really glad that DOMAssistant is still going. =D
[...] 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: [...]
[...] harmony [...]
How often do you update your blog? I’m waiting for more posts!
the town and is set near the historic district of downtown Greenville. Real estate in the