@lijuhong1981/jsgif 1.1.2 → 1.1.3
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 +3 -3
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -519,12 +519,12 @@ function GifPlayer(options = {}) {
|
|
|
519
519
|
parseHeader();
|
|
520
520
|
parseBlock();
|
|
521
521
|
drawAtlasImage();
|
|
522
|
-
stopGif();
|
|
523
|
-
if (options.autoPlay)
|
|
524
|
-
playGif();
|
|
525
522
|
if (typeof onLoad === 'function')
|
|
526
523
|
onLoad(player);
|
|
527
524
|
resolve(player);
|
|
525
|
+
stopGif();
|
|
526
|
+
if (options.autoPlay)
|
|
527
|
+
playGif();
|
|
528
528
|
} catch (error) {
|
|
529
529
|
if (typeof onError === 'function')
|
|
530
530
|
onError(error);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lijuhong1981/jsgif",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"author": "lijuhong1981",
|
|
6
6
|
"homepage": "https://github.com/lijuhong1981/jslibs#readme",
|
|
@@ -18,5 +18,5 @@
|
|
|
18
18
|
"bugs": {
|
|
19
19
|
"url": "https://github.com/lijuhong1981/jslibs/issues"
|
|
20
20
|
},
|
|
21
|
-
"gitHead": "
|
|
21
|
+
"gitHead": "3a554491c8e46c00e2a291941d48fa4d49554b67"
|
|
22
22
|
}
|