Turn on harmony arrays and regexp.

adamk@ says these are pretty stable.

R=abarth@chromium.org

Review URL: https://codereview.chromium.org/845403009
This commit is contained in:
Elliott Sprehn 2015-01-15 17:12:17 -08:00
parent b9aac0ada7
commit 42a7db75ec

View File

@ -26,11 +26,9 @@ module.exports = class extends SkyElement {
this.rafId = 0;
this.currentDeltaIndex = 0;
this.deltas = new Array(kMaxDeltaLength);
for (var i = 0; i < kMaxDeltaLength; ++i)
this.deltas[i] = 0;
this.deltas.fill(0);
this.history = new Array(kMaxDeltaLength);
for (var i = 0; i < kMaxDeltaLength; ++i)
this.history[i] = 0;
this.history.fill(0);
}
attached() {
this.scheduleTick();