chore(view): remove obsolete HACK comment
This commit is contained in:
parent
7dba3a3e32
commit
5010cf9757
1
modules/angular2/src/core/compiler/view.js
vendored
1
modules/angular2/src/core/compiler/view.js
vendored
@ -416,7 +416,6 @@ export class ProtoView {
|
||||
// view might get dehydrated, in between the event queuing up and
|
||||
// firing.
|
||||
if (view.hydrated()) {
|
||||
// HACK
|
||||
MapWrapper.set(locals, `$event`, event);
|
||||
var context = new ContextWithVariableBindings(view.context, locals);
|
||||
expr.eval(context);
|
||||
|
Loading…
x
Reference in New Issue
Block a user