overriding console when not defined, so IE doesn't break.

This commit is contained in:
Keivan Beigi 2013-01-22 16:34:00 -08:00 committed by kay.one
parent c247406d67
commit c43eb59efb
1 changed files with 3 additions and 1 deletions

View File

@ -5,7 +5,9 @@
/// <reference path="JsLibraries/backbone.marionette.extend.js" />
/// <reference path="JsLibraries/bootstrap.js" />
if (typeof console == "undefined") {
window.console = { log: function () { } };
}
NzbDrone = new Backbone.Marionette.Application();
NzbDrone.AddSeries = NzbDrone.module("AddSeries");