@lijuhong1981/jsgif 1.1.10 → 1.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -2
- package/package.json +3 -3
package/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import defineDestroyProperties from "@lijuhong1981/jsdestroy/src/defineDestroyPr
|
|
|
3
3
|
import Destroyable from "@lijuhong1981/jsdestroy/src/Destroyable.js";
|
|
4
4
|
import destroyHTMLElement from "@lijuhong1981/jsdestroy/src/destroyHTMLElement.js";
|
|
5
5
|
import destroyObject from "@lijuhong1981/jsdestroy/src/destroyObject.js";
|
|
6
|
-
import
|
|
6
|
+
import Event from "@lijuhong1981/jsevents/src/EventSubscriber.js";
|
|
7
7
|
import fetchArrayBuffer from "@lijuhong1981/jsload/src/fetchArrayBuffer.js";
|
|
8
8
|
|
|
9
9
|
// 转流数组
|
|
@@ -149,7 +149,7 @@ function GifPlayer(options = {}) {
|
|
|
149
149
|
let TRANSPARENCY = null;
|
|
150
150
|
let isPlaying = false;
|
|
151
151
|
let currentFrameIndex = 0;
|
|
152
|
-
const frameChanged = new
|
|
152
|
+
const frameChanged = new Event();
|
|
153
153
|
const player = {};
|
|
154
154
|
|
|
155
155
|
function reset() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lijuhong1981/jsgif",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.12",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"author": "lijuhong1981",
|
|
6
6
|
"homepage": "https://github.com/lijuhong1981/jslibs#readme",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"bugs": {
|
|
19
19
|
"url": "https://github.com/lijuhong1981/jslibs/issues"
|
|
20
20
|
},
|
|
21
|
-
"gitHead": "
|
|
21
|
+
"gitHead": "07e6d454c96f2687462dec07b8dca21fc412d381",
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@lijuhong1981/jscheck": "^1.0.9",
|
|
24
24
|
"@lijuhong1981/jsdestroy": "^1.1.7",
|
|
25
25
|
"@lijuhong1981/jsevents": "^1.1.2",
|
|
26
|
-
"@lijuhong1981/jsload": "^1.
|
|
26
|
+
"@lijuhong1981/jsload": "^1.2.0"
|
|
27
27
|
}
|
|
28
28
|
}
|