index.js
function getObjectClassname (listener) {
    if (!listener) return DEFAULT_LISTENER;
    if (typeof listener === 'string') return listener;
    var constr = listener.constructor;
    return constr.name || constr.toString().split(/ |\(/, 2)[1];
}
function getObjectClassname (listener) {
    if (!listener) return DEFAULT_LISTENER;
    if (typeof listener === 'string') return listener;
    var constr = listener.constructor;
    return constr.name || constr.toString().split(/ |\(/, 2)[1];
}
function getObjectClassname ( listener ) { if ( ! listener ) return DEFAULT_LISTENER ; if ( typeof listener === 'string' ) return listener ; var constr = listener . constructor ; return constr . name || constr . toString ( ) . split ( /  |\( / , 2 ) [ 1 ] ; }
Using 0 is a bit faster for old API when in debug mode
Using 0 is a bit faster for old API when in debug mode