Formatting

This commit is contained in:
Kim Biesbjerg 2016-12-07 06:16:18 +01:00
parent f4b5dbed24
commit 7ca714f029

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');