Skip to content

Commit f1f647e

Browse files
committed
closes #71 - bringing back old IE support
1 parent 2a1cc91 commit f1f647e

3 files changed

Lines changed: 3 additions & 5 deletions

File tree

dist/script.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@
5858
if (scripts[path]) {
5959
if (id) ids[id] = 1
6060
if (scripts[path] == 2) callback()
61-
else setTimeout(loading.bind(null, path, true), 0)
62-
return;
61+
else return setTimeout(function () { loading(path, true) }, 0)
6362
}
6463

6564
scripts[path] = 1

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.

src/script.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@
5252
if (scripts[path]) {
5353
if (id) ids[id] = 1
5454
if (scripts[path] == 2) callback()
55-
else setTimeout(loading.bind(null, path, true), 0)
56-
return;
55+
else return setTimeout(function () { loading(path, true) }, 0)
5756
}
5857

5958
scripts[path] = 1

0 commit comments

Comments
 (0)