From c65b4fa9dcc8a1966c8269b589216616a3ffa1c2 Mon Sep 17 00:00:00 2001 From: Victor Berchet Date: Wed, 14 Dec 2016 15:10:43 -0800 Subject: [PATCH] refactor: format & lint --- modules/@angular/compiler/src/directive_resolver.ts | 2 +- modules/@angular/compiler/test/directive_resolver_spec.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/@angular/compiler/src/directive_resolver.ts b/modules/@angular/compiler/src/directive_resolver.ts index 8e2076f60d..16e45bd597 100644 --- a/modules/@angular/compiler/src/directive_resolver.ts +++ b/modules/@angular/compiler/src/directive_resolver.ts @@ -90,7 +90,7 @@ export class DirectiveResolver { host[`[${propName}]`] = propName; } }); - const hostListeners = propertyMetadata[propName].filter(a => a && a instanceof HostListener) + const hostListeners = propertyMetadata[propName].filter(a => a && a instanceof HostListener); hostListeners.forEach(hostListener => { const args = hostListener.args || []; host[`(${hostListener.eventName})`] = `${propName}(${args.join(',')})`; diff --git a/modules/@angular/compiler/test/directive_resolver_spec.ts b/modules/@angular/compiler/test/directive_resolver_spec.ts index 8f37734797..804bee7fa6 100644 --- a/modules/@angular/compiler/test/directive_resolver_spec.ts +++ b/modules/@angular/compiler/test/directive_resolver_spec.ts @@ -361,7 +361,7 @@ export function main() { '[p22]': 'p2', '[c2]': 'p2' }); - }) + }); }); describe('queries', () => {