Skip to content

Commit ce3f285

Browse files
committed
rebuild
1 parent ce9521c commit ce3f285

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

dist/script.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,11 @@
5454
setTimeout(function () {
5555
each(paths, function loading(path, force) {
5656
if (path === null) return callback()
57-
path = !force && path.indexOf('.js') === -1 && !/^https?:\/\//.test(path) && scriptpath ? scriptpath + path + '.js' : path
57+
58+
if (!force && !/^https?:\/\//.test(path) && scriptpath) {
59+
path = (path.indexOf('.js') === -1) ? scriptpath + path + '.js' : scriptpath + path;
60+
}
61+
5862
if (scripts[path]) {
5963
if (id) ids[id] = 1
6064
return (scripts[path] == 2) ? callback() : setTimeout(function () { loading(path, true) }, 0)

dist/script.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)