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:
parent
b9aac0ada7
commit
42a7db75ec
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user