mirror of
https://github.com/Polymer/polymer.git
synced 2026-08-19 01:14:44 -05:00
stripWhitespace
This commit is contained in:
@@ -203,9 +203,9 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||
if (!template._templateInfo) {
|
||||
let templateInfo = template._templateInfo = {};
|
||||
templateInfo.nodeInfoList = [];
|
||||
templateInfo.stripWhiteSpace =
|
||||
(outerTemplateInfo && outerTemplateInfo.stripWhiteSpace) ||
|
||||
template.hasAttribute('strip-whitespace');
|
||||
templateInfo.stripWhiteSpace = true;
|
||||
// (outerTemplateInfo && outerTemplateInfo.stripWhiteSpace) ||
|
||||
// template.hasAttribute('strip-whitespace');
|
||||
this._parseTemplateContent(template, templateInfo, {parent: null});
|
||||
}
|
||||
return template._templateInfo;
|
||||
|
||||
Reference in New Issue
Block a user