view/shared/assets/js/wb/ads/2.1.2/ads.js
/**
     * auto-discover all potential slots via the selector, and call defineNewAdSlot on each candidate
     * NOTE: this is not called by init, must be kicked off explicitly by calling page
     */
auto-discover all potential slots via the selector, and call defineNewAdSlot on each candidate
NOTE: this is not called by init, must be kicked off explicitly by calling page
auto - discover all potential slots via the selector and call defineNewAdSlot on each candidate NOTE : this is not called by init must be kicked off explicitly by calling page
function buildSlots() {
        trigger("pre.slot.discovery");
        if(!settings.enabled) {
            debug("buildSlots :: ads disabled. no ad slots will be created or displayed");
            return;
        }
        debug("buildSlots :: ad container discovery...");
        var dfpContainersCount =  0;
        $("."+settings.selector).each( function(ac) {
            dfpContainersCount++;
            var adDiv = $(this);
            defineNewAdSlot(adDiv, null, null, false, false);
        });
        debug("buildSlots :: ...WBADS ad container discovery found and created " + dfpContainersCount + " ads");
        trigger("post.slot.discovery");
    }
function buildSlots ( ) { trigger ( "pre.slot.discovery" ) ; if ( ! settings . enabled ) { debug ( "buildSlots :: ads disabled. no ad slots will be created or displayed" ) ; return ; } debug ( "buildSlots :: ad container discovery..." ) ; var dfpContainersCount = 0 ; $ ( "." + settings . selector ) . each ( function ( ac ) { dfpContainersCount ++ ; var adDiv = $ ( this ) ; defineNewAdSlot ( adDiv , null , null , false , false ) ; } ) ; debug ( "buildSlots :: ...WBADS ad container discovery found and created " + dfpContainersCount + " ads" ) ; trigger ( "post.slot.discovery" ) ; }
auto-discover all potential slots via the selector, and call defineNewAdSlot on each candidate
 NOTE: this is not called by init, must be kicked off explicitly by calling page
auto - discover all potential slots via the selector and call defineNewAdSlot on each candidate NOTE : this is not called by init must be kicked off explicitly by calling page
/** find all wbads ad containers on the page */