Formatting

This commit is contained in:
Kim Biesbjerg 2016-12-07 06:16:18 +01:00 committed by Kim Biesbjerg
parent ef574a2d4f
commit a45ca2be41

View File

@ -16,8 +16,8 @@ export class DirectiveParser extends AbstractTemplateParser implements ParserInt
let results: string[] = []; let results: string[] = [];
template = this._normalizeTemplateAttributes(template); template = this._normalizeTemplateAttributes(template);
$(template)
$(template).find('[translate]') .find('[translate]')
.each((i: number, element: CheerioElement) => { .each((i: number, element: CheerioElement) => {
const $element = $(element); const $element = $(element);
const attr = $element.attr('translate'); const attr = $element.attr('translate');