Skip to content
This repository was archived by the owner on Nov 5, 2019. It is now read-only.

Commit 59fc83c

Browse files
sokrajoshwiens
authored andcommitted
fix: weird IE8
1 parent 69dd507 commit 59fc83c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

addScript.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
Author Tobias Koppers @sokra
44
*/
55
module.exports = function(src) {
6-
if (typeof execScript === "function")
6+
if (typeof execScript !== "undefined")
77
execScript(src);
88
else
99
eval.call(null, src);
10-
}
10+
}

0 commit comments

Comments
 (0)