Commit 3d84b3e7 authored by JC Brand's avatar JC Brand

IE8 bugfix. Fixes #52

parent 3260c7d2
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
// AMD/global registrations // AMD/global registrations
(function (root, factory) { (function (root, factory) {
if (console===undefined || console.log===undefined) { if (typeof console === "undefined" || typeof console.log === "undefined") {
console = { log: function () {}, error: function () {} }; console = { log: function () {}, error: function () {} };
} }
if (typeof define === 'function' && define.amd) { if (typeof define === 'function' && define.amd) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment