IE8 bugfix. Fixes #52

This commit is contained in:
JC Brand 2013-10-19 17:10:56 +02:00
parent 3260c7d2b0
commit 3d84b3e7ae

View File

@ -8,7 +8,7 @@
// AMD/global registrations
(function (root, factory) {
if (console===undefined || console.log===undefined) {
if (typeof console === "undefined" || typeof console.log === "undefined") {
console = { log: function () {}, error: function () {} };
}
if (typeof define === 'function' && define.amd) {