Skip to content

Commit ededf5a

Browse files
committed
chore: code style, cleanup
1 parent 40e2058 commit ededf5a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

projects/elements/src/lib/lazy-elements/lazy-element-dynamic/lazy-element-dynamic.directive.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ export class LazyElementDynamicDirective implements OnInit {
3434
errorTemplateRef: TemplateRef<any> | null = null;
3535
@Input('axLazyElementDynamicModule') isModule = false; // eslint-disable-line @angular-eslint/no-input-rename
3636
@Input('axLazyElementDynamicImportMap') importMap = false; // eslint-disable-line @angular-eslint/no-input-rename
37-
@Input('axLazyElementLoadingSuccess') loadingSuccess?: () => void;
37+
@Input('axLazyElementLoadingSuccess') loadingSuccess?: () => void; // eslint-disable-line @angular-eslint/no-input-rename
38+
// eslint-disable-next-line @angular-eslint/no-input-rename
3839
@Input('axLazyElementLoadingError') loadingError?: (
3940
error: ErrorEvent,
4041
) => void;

projects/elements/src/lib/lazy-elements/lazy-element/lazy-element.directive.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ export class LazyElementDirective implements OnInit, OnChanges {
5151
errorTemplateRef: TemplateRef<any> | null = null;
5252
@Input('axLazyElementModule') isModule?: boolean; // eslint-disable-line @angular-eslint/no-input-rename
5353
@Input('axLazyElementImportMap') importMap = false; // eslint-disable-line @angular-eslint/no-input-rename
54-
@Input('axLazyElementLoadingSuccess') loadingSuccess?: () => void;
54+
@Input('axLazyElementLoadingSuccess') loadingSuccess?: () => void; // eslint-disable-line @angular-eslint/no-input-rename
55+
// eslint-disable-next-line @angular-eslint/no-input-rename
5556
@Input('axLazyElementLoadingError') loadingError?: (
5657
error: ErrorEvent,
5758
) => void;
@@ -87,7 +88,6 @@ export class LazyElementDirective implements OnInit, OnChanges {
8788

8889
#setupUrlListener(): void {
8990
const tpl = this.#template as any;
90-
console.log(tpl);
9191
const elementTag = tpl._declarationTContainer
9292
? tpl._declarationTContainer.tagName || tpl._declarationTContainer.value
9393
: tpl._def.element.#template.nodes[0].element.name;

0 commit comments

Comments
 (0)