-
-
Notifications
You must be signed in to change notification settings - Fork 148
Open
Description
I'd like to report 2 issues I found when playing with this excellent script:
-
The script will insert image tag into <head>. Since the onload/onerror events will be fired after setting src, it might be better not to append the image to <head>.
-
I accidentally passed a blank array as paths to loadjs(), it could pass the loadFiles() without firing callbackFn(), the subsequent loading process was therefore skipped. It would be nice if some error handling about that can be added.
Thank you for creating such a good script.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels