ag-timemachine
Advanced tools
Comparing version 1.0.86 to 1.0.87
{ | ||
"name": "ag-timemachine", | ||
"version": "1.0.86", | ||
"version": "1.0.87", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -110,5 +110,3 @@ "use strict"; | ||
return; | ||
this.buffer.target.value = next; | ||
console.log(next); | ||
this.align(); | ||
this.target = next; | ||
}; | ||
@@ -121,5 +119,3 @@ AgTmPlayer.prototype.preFrame = function () { | ||
return; | ||
this.buffer.target.value = reverse.length > pre + 1 ? reverse[pre + 1] : reverse[pre]; | ||
console.log(this.buffer.target.value); | ||
this.align(); | ||
this.target = reverse.length > pre + 1 ? reverse[pre + 1] : reverse[pre]; | ||
}; | ||
@@ -126,0 +122,0 @@ AgTmPlayer.prototype.forward = function () { |
@@ -65,3 +65,2 @@ "use strict"; | ||
var set = new Set(__spreadArray(__spreadArray([], _this.buffer.recentDatas.value.map(function (t) { return t.time.getTime(); }), true), _this.buffer.cachedDatas.value.map(function (t) { return t.time.getTime(); }), true)); | ||
console.log(Array.from(set).sort(function (a, b) { return a - b; })); | ||
return Array.from(set).sort(function (a, b) { return a - b; }).map(function (t) { return new Date(t); }); | ||
@@ -68,0 +67,0 @@ }); |
72890
1606