Commit 42a7db75 authored by Elliott Sprehn's avatar Elliott Sprehn

Turn on harmony arrays and regexp.

adamk@ says these are pretty stable.

R=abarth@chromium.org

Review URL: https://codereview.chromium.org/845403009
parent b9aac0ad
...@@ -26,11 +26,9 @@ module.exports = class extends SkyElement { ...@@ -26,11 +26,9 @@ module.exports = class extends SkyElement {
this.rafId = 0; this.rafId = 0;
this.currentDeltaIndex = 0; this.currentDeltaIndex = 0;
this.deltas = new Array(kMaxDeltaLength); this.deltas = new Array(kMaxDeltaLength);
for (var i = 0; i < kMaxDeltaLength; ++i) this.deltas.fill(0);
this.deltas[i] = 0;
this.history = new Array(kMaxDeltaLength); this.history = new Array(kMaxDeltaLength);
for (var i = 0; i < kMaxDeltaLength; ++i) this.history.fill(0);
this.history[i] = 0;
} }
attached() { attached() {
this.scheduleTick(); this.scheduleTick();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment