view/shared/assets/js/wb/ads/2.1.3/ads.js
/**
     * programmatically add callback binding
     * @param {string} eventRef - must be a predefined EVENT or CALLBACK nickname {eg pre.init or onBeforeInit}
     * @param {Function} eventBinding
     */
programmatically add callback binding
@param {string} eventRef - must be a predefined EVENT or CALLBACK nickname {eg pre.init or onBeforeInit}
@param {Function} eventBinding
programmatically add callback binding @param { string } eventRef - must be a predefined EVENT or CALLBACK nickname { eg pre . init or onBeforeInit } @param { Function } eventBinding
function defineCallback(eventRef, eventBinding) {
        if ($.isFunction(eventBinding)) {
            bind(eventRef, eventBinding);
        }
    }
function defineCallback ( eventRef , eventBinding ) { if ( $ . isFunction ( eventBinding ) ) { bind ( eventRef , eventBinding ) ; } }
programmatically add callback binding
 @param {string} eventRef - must be a predefined EVENT or CALLBACK nickname {eg pre.init or onBeforeInit}
 @param {Function} eventBinding
programmatically add callback binding @param { string } eventRef - must be a predefined EVENT or CALLBACK nickname { eg pre . init or onBeforeInit } @param { Function } eventBinding