Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
teddi
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
wildfirecode13
teddi
Commits
9689c8a6
Commit
9689c8a6
authored
Nov 14, 2020
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
2d76e144
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
svga.js
dist/svga.js
+1
-1
package.json
package.json
+1
-1
svga.ts
src/svga.ts
+1
-1
No files found.
dist/svga.js
View file @
9689c8a6
...
@@ -59,7 +59,7 @@ exports.getSVGA = function (url, className, loops, clearsAfterStop) { return __a
...
@@ -59,7 +59,7 @@ exports.getSVGA = function (url, className, loops, clearsAfterStop) { return __a
if
(
loops
)
if
(
loops
)
svga
.
loops
=
loops
;
svga
.
loops
=
loops
;
if
(
clearsAfterStop
)
if
(
clearsAfterStop
)
svga
.
clearsAfterStop
=
clearsAfterStop
;
svga
.
clearsAfterStop
=
false
;
svga
.
setVideoItem
(
videoItem
);
svga
.
setVideoItem
(
videoItem
);
svga
.
startAnimation
();
svga
.
startAnimation
();
return
[
2
/*return*/
,
svga
];
return
[
2
/*return*/
,
svga
];
...
...
package.json
View file @
9689c8a6
{
{
"name"
:
"teddi"
,
"name"
:
"teddi"
,
"version"
:
"1.0.1
1
"
,
"version"
:
"1.0.1
3
"
,
"description"
:
""
,
"description"
:
""
,
"main"
:
"dist/index.js"
,
"main"
:
"dist/index.js"
,
"types"
:
"dist/index.d.ts"
,
"types"
:
"dist/index.d.ts"
,
...
...
src/svga.ts
View file @
9689c8a6
...
@@ -18,7 +18,7 @@ export const getSVGA = async (url:string, className:string, loops:number, clears
...
@@ -18,7 +18,7 @@ export const getSVGA = async (url:string, className:string, loops:number, clears
if
(
loops
)
if
(
loops
)
svga
.
loops
=
loops
;
svga
.
loops
=
loops
;
if
(
clearsAfterStop
)
if
(
clearsAfterStop
)
svga
.
clearsAfterStop
=
clearsAfterStop
;
svga
.
clearsAfterStop
=
false
;
svga
.
setVideoItem
(
videoItem
);
svga
.
setVideoItem
(
videoItem
);
svga
.
startAnimation
();
svga
.
startAnimation
();
return
svga
return
svga
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment