fix(benchmarks): Stop working around a Traceur bug.

This commit is contained in:
Martin Probst 2015-04-09 17:36:53 -07:00
parent 8c3007e4b5
commit 22c1a0d030
1 changed files with 2 additions and 5 deletions

View File

@ -56,9 +56,6 @@ export function setupReflector() {
setupReflectorForScrollItem(); setupReflectorForScrollItem();
setupReflectorForCells(); setupReflectorForCells();
// TODO: the transpiler is not able to compiles templates used as keys
var evt = `$event`;
reflector.registerGetters({ reflector.registerGetters({
'scrollAreas': (o) => o.scrollAreas, 'scrollAreas': (o) => o.scrollAreas,
'length': (o) => o.length, 'length': (o) => o.length,
@ -103,7 +100,7 @@ export function setupReflector() {
'stages': (o) => o.stages, 'stages': (o) => o.stages,
'aatStatusWidth': (o) => o.aatStatusWidth, 'aatStatusWidth': (o) => o.aatStatusWidth,
'endDateWidth': (o) => o.endDateWidth, 'endDateWidth': (o) => o.endDateWidth,
evt: (o) => null '$event': (o) => null
}); });
reflector.registerSetters({ reflector.registerSetters({
@ -152,7 +149,7 @@ export function setupReflector() {
'if': (o, v) => {}, 'if': (o, v) => {},
'of': (o, v) => {}, 'of': (o, v) => {},
'cellWidth': (o, v) => o.cellWidth = v, 'cellWidth': (o, v) => o.cellWidth = v,
evt: (o, v) => null, '$event': (o, v) => null,
'style': (o, m) => { 'style': (o, m) => {
//if (isBlank(m)) return; //if (isBlank(m)) return;
// HACK // HACK