lib/util/io.js
function (cache, listener) {
    if (Object.keys(cache).length <= 0) {
        listener.forEach(function (callback) {
            try {
                callback();
            } catch (ex) {
                console.error(ex.stack);
            }
        });
    }
}
function (cache, listener) {
    if (Object.keys(cache).length <= 0) {
        listener.forEach(function (callback) {
            try {
                callback();
            } catch (ex) {
                console.error(ex.stack);
            }
        });
    }
}
function ( cache , listener ) { if ( Object . keys ( cache ) . length <= 0 ) { listener . forEach ( function ( callback ) { try { callback ( ) ; } catch ( ex ) { console . error ( ex . stack ) ; } } ) ; } }
check event trigger
check event trigger