chore(view): remove obsolete HACK comment
This commit is contained in:
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
|
// view might get dehydrated, in between the event queuing up and
|
||||||
// firing.
|
// firing.
|
||||||
if (view.hydrated()) {
|
if (view.hydrated()) {
|
||||||
// HACK
|
|
||||||
MapWrapper.set(locals, `$event`, event);
|
MapWrapper.set(locals, `$event`, event);
|
||||||
var context = new ContextWithVariableBindings(view.context, locals);
|
var context = new ContextWithVariableBindings(view.context, locals);
|
||||||
expr.eval(context);
|
expr.eval(context);
|
||||||
|
Reference in New Issue
Block a user