Formatting
This commit is contained in:
parent
ef574a2d4f
commit
a45ca2be41
@ -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');
|
||||||
|
Loading…
Reference in New Issue
Block a user