event-base.js
function (emitterName) {
            var instance = this,
                pattern;
            if (emitterName) {
                pattern = new RegExp('^'+emitterName+':');
                instance._ce.itsa_each(
                    function(value, key) {
                        key.match(pattern) && (delete instance._ce[key]);
                    }
                );
            }
            else {
                instance._ce.itsa_each(
                    function(value, key) {
                        delete instance._ce[key];
                    }
                );
            }
        }
function (emitterName) {
            var instance = this,
                pattern;
            if (emitterName) {
                pattern = new RegExp('^'+emitterName+':');
                instance._ce.itsa_each(
                    function(value, key) {
                        key.match(pattern) && (delete instance._ce[key]);
                    }
                );
            }
            else {
                instance._ce.itsa_each(
                    function(value, key) {
                        delete instance._ce[key];
                    }
                );
            }
        }
function ( emitterName ) { var instance = this , pattern ; if ( emitterName ) { pattern = new RegExp ( '^' + emitterName + ':' ) ; instance . _ce . itsa_each ( function ( value , key ) { key . match ( pattern ) && ( delete instance . _ce [ key ] ) ; } ) ; } else { instance . _ce . itsa_each ( function ( value , key ) { delete instance . _ce [ key ] ; } ) ; } }
Removes all event-definitions of an emitter, specified by its `emitterName`.
When `emitterName` is not set, ALL event-definitions will be removed.

@static
@method undefAllEvents
@param [emitterName] {String} name of the customEvent conform the syntax: `emitterName:eventName`
@since 0.0.1
Removes all event - definitions of an emitter specified by its emitterName . When emitterName is not set ALL event - definitions will be removed .