From 22c1a0d030f90cd7bd2a33600ce3111fe415c7ca Mon Sep 17 00:00:00 2001 From: Martin Probst Date: Thu, 9 Apr 2015 17:36:53 -0700 Subject: [PATCH] fix(benchmarks): Stop working around a Traceur bug. --- modules/benchmarks/src/naive_infinite_scroll/index.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/modules/benchmarks/src/naive_infinite_scroll/index.js b/modules/benchmarks/src/naive_infinite_scroll/index.js index 4d12abbe16..3117f8b55e 100644 --- a/modules/benchmarks/src/naive_infinite_scroll/index.js +++ b/modules/benchmarks/src/naive_infinite_scroll/index.js @@ -56,9 +56,6 @@ export function setupReflector() { setupReflectorForScrollItem(); setupReflectorForCells(); - // TODO: the transpiler is not able to compiles templates used as keys - var evt = `$event`; - reflector.registerGetters({ 'scrollAreas': (o) => o.scrollAreas, 'length': (o) => o.length, @@ -103,7 +100,7 @@ export function setupReflector() { 'stages': (o) => o.stages, 'aatStatusWidth': (o) => o.aatStatusWidth, 'endDateWidth': (o) => o.endDateWidth, - evt: (o) => null + '$event': (o) => null }); reflector.registerSetters({ @@ -152,7 +149,7 @@ export function setupReflector() { 'if': (o, v) => {}, 'of': (o, v) => {}, 'cellWidth': (o, v) => o.cellWidth = v, - evt: (o, v) => null, + '$event': (o, v) => null, 'style': (o, m) => { //if (isBlank(m)) return; // HACK