RuntimeProtoViewFactory.prototype.createAppProtoView = function (embeddedTemplateIndex, viewType, templateVariableBindings, targetStatements) { var pipes = embeddedTemplateIndex === 0 ? this.pipes.map(function (pipeMeta) { return pipeMeta.type.runtime; }) : []; var templateVars = keyValueArrayToStringMap(templateVariableBindings); return view_1.AppProtoView.create(this.metadataCache, viewType, pipes, templateVars); };
createAppProtoView(embeddedTemplateIndex, viewType, templateVariableBindings, targetStatements) { var pipes = embeddedTemplateIndex === 0 ? this.pipes.map(pipeMeta => pipeMeta.type.runtime) : []; var templateVars = keyValueArrayToStringMap(templateVariableBindings); return AppProtoView.create(this.metadataCache, viewType, pipes, templateVars); }