tinymce.full.js
function addEvent(target, name, callback, capture) {
      if (target.addEventListener) {
        target.addEventListener(name, callback, capture || false);
      } else if (target.attachEvent) {
        target.attachEvent('on' + name, callback);
      }
    }
function addEvent(target, name, callback, capture) {
      if (target.addEventListener) {
        target.addEventListener(name, callback, capture || false);
      } else if (target.attachEvent) {
        target.attachEvent('on' + name, callback);
      }
    }
function addEvent ( target , name , callback , capture ) { if ( target . addEventListener ) { target . addEventListener ( name , callback , capture || false ) ; } else if ( target . attachEvent ) { target . attachEvent ( 'on' + name , callback ) ; } }
Binds a native event to a callback on the speified target.
Binds a native event to a callback on the speified target .