dist/on.js
function onDomEvent (node, eventName, callback) {
		node.addEventListener(eventName, callback, false);
		return {
			remove: function () {
				node.removeEventListener(eventName, callback, false);
				node = callback = null;
				this.remove = this.pause = this.resume = function () {};
			},
			pause: function () {
				node.removeEventListener(eventName, callback, false);
			},
			resume: function () {
				node.addEventListener(eventName, callback, false);
			}
		};
	}
function onDomEvent (node, eventName, callback) {
		node.addEventListener(eventName, callback, false);
		return {
			remove: function () {
				node.removeEventListener(eventName, callback, false);
				node = callback = null;
				this.remove = this.pause = this.resume = function () {};
			},
			pause: function () {
				node.removeEventListener(eventName, callback, false);
			},
			resume: function () {
				node.addEventListener(eventName, callback, false);
			}
		};
	}
function onDomEvent ( node , eventName , callback ) { node . addEventListener ( eventName , callback , false ) ; return { remove : function ( ) { node . removeEventListener ( eventName , callback , false ) ; node = callback = null ; this . remove = this . pause = this . resume = function ( ) { } ; } , pause : function ( ) { node . removeEventListener ( eventName , callback , false ) ; } , resume : function ( ) { node . addEventListener ( eventName , callback , false ) ; } } ; }
internal event handlers
internal event handlers