src/aria/embed/Placeholder.js
function (out) {
            var typeUtil = ariaUtilsType, placeholderManager = ariaEmbedPlaceholderManager;
            var placeholderPath = this._placeholderPath;
            var contents = placeholderManager.getContent(placeholderPath);
            for (var i = 0, ii = contents.length; i < ii; i++) {
                var content = contents[i];
                if (typeUtil.isString(content)) {
                    out.write(content);
                } else {
                    // Assume json here (aria.html.beans.TemplateCfg)
                    var template = new ariaHtmlTemplate(content, this._context, this._lineNumber);
                    template.subTplCtxt.placeholderPath = placeholderPath;
                    out.registerBehavior(template);
                    template.writeMarkup(out);
                }
            }
        }
function (out) {
            var typeUtil = ariaUtilsType, placeholderManager = ariaEmbedPlaceholderManager;
            var placeholderPath = this._placeholderPath;
            var contents = placeholderManager.getContent(placeholderPath);
            for (var i = 0, ii = contents.length; i < ii; i++) {
                var content = contents[i];
                if (typeUtil.isString(content)) {
                    out.write(content);
                } else {
                    // Assume json here (aria.html.beans.TemplateCfg)
                    var template = new ariaHtmlTemplate(content, this._context, this._lineNumber);
                    template.subTplCtxt.placeholderPath = placeholderPath;
                    out.registerBehavior(template);
                    template.writeMarkup(out);
                }
            }
        }
function ( out ) { var typeUtil = ariaUtilsType , placeholderManager = ariaEmbedPlaceholderManager ; var placeholderPath = this . _placeholderPath ; var contents = placeholderManager . getContent ( placeholderPath ) ; for ( var i = 0 , ii = contents . length ; i < ii ; i ++ ) { var content = contents [ i ] ; if ( typeUtil . isString ( content ) ) { out . write ( content ) ; } else { // Assume json here (aria.html.beans.TemplateCfg) var template = new ariaHtmlTemplate ( content , this . _context , this . _lineNumber ) ; template . subTplCtxt . placeholderPath = placeholderPath ; out . registerBehavior ( template ) ; template . writeMarkup ( out ) ; } } }
Write the content of the placeholder
@param {aria.templates.MarkupWriter} out
@private
Write the content of the placeholder