@lijuhong1981/jsgif 1.1.0 → 1.1.2
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 +1 -1
package/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Check from "@lijuhong1981/jscheck";
|
|
2
2
|
import { defineDestroyProperties, Destroyable, destroyHTMLElement, destroyObject } from "@lijuhong1981/jsdestroy";
|
|
3
|
-
import { EventRaiser } from "@lijuhong1981/
|
|
3
|
+
import { EventRaiser } from "@lijuhong1981/jsevents";
|
|
4
4
|
import { fetchArrayBuffer } from "@lijuhong1981/jsload";
|
|
5
5
|
|
|
6
6
|
// 转流数组
|
|
@@ -539,7 +539,7 @@ function GifPlayer(options = {}) {
|
|
|
539
539
|
|
|
540
540
|
return new Promise(function (resolve, reject) {
|
|
541
541
|
|
|
542
|
-
function rejectError() {
|
|
542
|
+
function rejectError(error) {
|
|
543
543
|
if (typeof onError === 'function')
|
|
544
544
|
onError(error);
|
|
545
545
|
reject(error);
|