Skip to content

Commit 22c1a0d

Browse files
committed
fix(benchmarks): Stop working around a Traceur bug.
1 parent 8c3007e commit 22c1a0d

File tree

1 file changed

+2
-5
lines changed
  • modules/benchmarks/src/naive_infinite_scroll

1 file changed

+2
-5
lines changed

modules/benchmarks/src/naive_infinite_scroll/index.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,6 @@ export function setupReflector() {
5656
setupReflectorForScrollItem();
5757
setupReflectorForCells();
5858

59-
// TODO: the transpiler is not able to compiles templates used as keys
60-
var evt = `$event`;
61-
6259
reflector.registerGetters({
6360
'scrollAreas': (o) => o.scrollAreas,
6461
'length': (o) => o.length,
@@ -103,7 +100,7 @@ export function setupReflector() {
103100
'stages': (o) => o.stages,
104101
'aatStatusWidth': (o) => o.aatStatusWidth,
105102
'endDateWidth': (o) => o.endDateWidth,
106-
evt: (o) => null
103+
'$event': (o) => null
107104
});
108105

109106
reflector.registerSetters({
@@ -152,7 +149,7 @@ export function setupReflector() {
152149
'if': (o, v) => {},
153150
'of': (o, v) => {},
154151
'cellWidth': (o, v) => o.cellWidth = v,
155-
evt: (o, v) => null,
152+
'$event': (o, v) => null,
156153
'style': (o, m) => {
157154
//if (isBlank(m)) return;
158155
// HACK

0 commit comments

Comments
 (0)