fix(benchmarks): Stop working around a Traceur bug.
This commit is contained in:
parent
8c3007e4b5
commit
22c1a0d030
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue