view/shared/assets/js/wb/ads/2.1.2/ads.js
/**
     * programmatically add callback binding
     * @param {string} eventRef - must be a predefined EVENT or CALLBACK nickname {eg pre.init or onBeforeInit}
     * @param {string} eventBinding - must be a valid function
     */
programmatically add callback binding
@param {string} eventRef - must be a predefined EVENT or CALLBACK nickname {eg pre.init or onBeforeInit}
@param {string} eventBinding - must be a valid function
programmatically add callback binding @param { string } eventRef - must be a predefined EVENT or CALLBACK nickname { eg pre . init or onBeforeInit } @param { string } eventBinding - must be a valid function
function defineCallback( eventRef, eventBinding ) {
        var eventName = eventRef;
        if($.isFunction(eventBinding)) {
            bind(eventName, eventBinding);
        } else {
            debug("defineCallback :: " + eventBinding + " must be a valid function...ABORTING");
        }
    }
function defineCallback ( eventRef , eventBinding ) { var eventName = eventRef ; if ( $ . isFunction ( eventBinding ) ) { bind ( eventName , eventBinding ) ; } else { debug ( "defineCallback :: " + eventBinding + " must be a valid function...ABORTING" ) ; } }
programmatically add callback binding
 @param {string} eventRef - must be a predefined EVENT or CALLBACK nickname {eg pre.init or onBeforeInit}
 @param {string} eventBinding - must be a valid function
programmatically add callback binding @param { string } eventRef - must be a predefined EVENT or CALLBACK nickname { eg pre . init or onBeforeInit } @param { string } eventBinding - must be a valid function