IE8 bugfix. Fixes #52
This commit is contained in:
parent
3260c7d2b0
commit
3d84b3e7ae
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user