@lijuhong1981/jsgif 1.1.9 → 1.1.11

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.
Files changed (2) hide show
  1. package/index.js +2 -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 EventRaiser from "@lijuhong1981/jsevents/src/EventRaiser.js";
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 EventRaiser();
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.9",
3
+ "version": "1.1.11",
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": "fe4018c8c6bff7a5c243e545f9ab8e37bc46aaf3",
21
+ "gitHead": "e0d848b68d61ae55ea62a80f2e5f385667a6d94a",
22
22
  "dependencies": {
23
23
  "@lijuhong1981/jscheck": "^1.0.9",
24
24
  "@lijuhong1981/jsdestroy": "^1.1.7",
25
- "@lijuhong1981/jsevents": "^1.1.1",
25
+ "@lijuhong1981/jsevents": "^1.1.2",
26
26
  "@lijuhong1981/jsload": "^1.1.9"
27
27
  }
28
28
  }