src/components/meta/Events.js
function(clazz, metaData) {
        this.applyEvents(clazz, metaData.clazz_events || {});
        this.applyEvents(clazz.prototype, metaData.events || {});
    }
function(clazz, metaData) {
        this.applyEvents(clazz, metaData.clazz_events || {});
        this.applyEvents(clazz.prototype, metaData.events || {});
    }
function ( clazz , metaData ) { this . applyEvents ( clazz , metaData . clazz_events || { } ) ; this . applyEvents ( clazz . prototype , metaData . events || { } ) ; }
Applies events to clazz and its prototype

@param {clazz}  clazz    Clazz
@param {object} metaData Meta data with 'clazz_event' and 'event' properties

@this {metaProcessor}
Applies events to clazz and its prototype