src/aria/pageEngine/utils/PageConfigHelper.js
function () {
            var output = [], isLazy, typeUtils = ariaUtilsType;
            var placeholders = this._pageConfig.pageComposition.placeholders || {};
            for (var placeholderName in placeholders) {
                if (placeholders.hasOwnProperty(placeholderName)) {
                    isLazy = false;
                    var singlePlaceholderArray = placeholders[placeholderName];

                    if (!typeUtils.isArray(singlePlaceholderArray)) {
                        singlePlaceholderArray = [singlePlaceholderArray];
                    }

                    for (var i = 0; i < singlePlaceholderArray.length; i += 1) {
                        if (singlePlaceholderArray[i].lazy) {
                            isLazy = true;
                        }
                    }
                    if (isLazy) {
                        output.push(placeholderName);
                    }
                }
            }
            return output;
        }
function () {
            var output = [], isLazy, typeUtils = ariaUtilsType;
            var placeholders = this._pageConfig.pageComposition.placeholders || {};
            for (var placeholderName in placeholders) {
                if (placeholders.hasOwnProperty(placeholderName)) {
                    isLazy = false;
                    var singlePlaceholderArray = placeholders[placeholderName];

                    if (!typeUtils.isArray(singlePlaceholderArray)) {
                        singlePlaceholderArray = [singlePlaceholderArray];
                    }

                    for (var i = 0; i < singlePlaceholderArray.length; i += 1) {
                        if (singlePlaceholderArray[i].lazy) {
                            isLazy = true;
                        }
                    }
                    if (isLazy) {
                        output.push(placeholderName);
                    }
                }
            }
            return output;
        }
function ( ) { var output = [ ] , isLazy , typeUtils = ariaUtilsType ; var placeholders = this . _pageConfig . pageComposition . placeholders || { } ; for ( var placeholderName in placeholders ) { if ( placeholders . hasOwnProperty ( placeholderName ) ) { isLazy = false ; var singlePlaceholderArray = placeholders [ placeholderName ] ; if ( ! typeUtils . isArray ( singlePlaceholderArray ) ) { singlePlaceholderArray = [ singlePlaceholderArray ] ; } for ( var i = 0 ; i < singlePlaceholderArray . length ; i += 1 ) { if ( singlePlaceholderArray [ i ] . lazy ) { isLazy = true ; } } if ( isLazy ) { output . push ( placeholderName ) ; } } } return output ; }
Compute the id of the placeholders who have at least on lazy content
@return {Array} ids of the lazy placeholders.
Compute the id of the placeholders who have at least on lazy content