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[] = [];
template = this._normalizeTemplateAttributes(template);
$(template).find('[translate]')
$(template)
.find('[translate]')
.each((i: number, element: CheerioElement) => {
const $element = $(element);
const attr = $element.attr('translate');