fix(compiler): don’t double bind functions
This fixes a performance regressions introduced by 178fb79b5c
.
Also makes properties in the directive wrapper private
so that closure compiler can minify them better.
This commit is contained in:
@ -375,7 +375,7 @@ export class DebugAppView<T> extends AppView<T> {
|
||||
return (eventName: string, event?: any) => {
|
||||
this._resetDebug();
|
||||
try {
|
||||
return superHandler(eventName, event);
|
||||
return superHandler.call(this, eventName, event);
|
||||
} catch (e) {
|
||||
this._rethrowWithContext(e);
|
||||
throw e;
|
||||
|
Reference in New Issue
Block a user