modules/callbacks.js
function GetOnEvent(title) {
    var retList, i;

    retList = [];
    for(i = 0 ; i < onList.length ; i++) {
        if(onList[i].event.toString() === title.toString()) {
            retList.push(onList[i].callback);
        }
    }
    return retList;
}
function GetOnEvent(title) {
    var retList, i;

    retList = [];
    for(i = 0 ; i < onList.length ; i++) {
        if(onList[i].event.toString() === title.toString()) {
            retList.push(onList[i].callback);
        }
    }
    return retList;
}
function GetOnEvent ( title ) { var retList , i ; retList = [ ] ; for ( i = 0 ; i < onList . length ; i ++ ) { if ( onList [ i ] . event . toString ( ) === title . toString ( ) ) { retList . push ( onList [ i ] . callback ) ; } } return retList ; }
Gets a list of callbacks for a requested event
@param string title
@return array
Gets a list of callbacks for a requested event