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 {
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();
......
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