dist/bower_components/log4js/log4js/src/main/js/log4js.js
function (element, name, observer) {
		if (element.addEventListener) { //DOM event model
			element.addEventListener(name, observer, false);
    	} else if (element.attachEvent) { //M$ event model
			element.attachEvent('on' + name, observer);
    	}
	}
function (element, name, observer) {
		if (element.addEventListener) { //DOM event model
			element.addEventListener(name, observer, false);
    	} else if (element.attachEvent) { //M$ event model
			element.attachEvent('on' + name, observer);
    	}
	}
function ( element , name , observer ) { if ( element . addEventListener ) { //DOM event model element . addEventListener ( name , observer , false ) ; } else if ( element . attachEvent ) { //M$ event model element . attachEvent ( 'on' + name , observer ) ; } }
Atatch an observer function to an elements event browser independent.

@param element element to attach event
@param name name of event
@param observer observer method to be called
@private
Atatch an observer function to an elements event browser independent .