public/javascripts/yui/element/element.js
function(type, callback) {
            this._events = this._events || {};

            if ( !(type in this._events) ) {
                this._events[type] = this.createEvent(type);
            }

            YAHOO.util.EventProvider.prototype.subscribe.apply(this, arguments);
        }
function(type, callback) {
            this._events = this._events || {};

            if ( !(type in this._events) ) {
                this._events[type] = this.createEvent(type);
            }

            YAHOO.util.EventProvider.prototype.subscribe.apply(this, arguments);
        }
function ( type , callback ) { this . _events = this . _events || { } ; if ( ! ( type in this . _events ) ) { this . _events [ type ] = this . createEvent ( type ) ; } YAHOO . util . EventProvider . prototype . subscribe . apply ( this , arguments ) ; }
wrapper for EventProvider.subscribe to create events on the fly
wrapper for EventProvider . subscribe to create events on the fly