Cannot use isUndefined on console object in IE8, will throw javascript error

This commit is contained in:
Butch Marshall 2016-07-21 18:43:00 +00:00
parent 984942e239
commit cb2761ae3d
5 changed files with 1 additions and 1 deletions

BIN
dist/showdown.js vendored

Binary file not shown.

BIN
dist/showdown.js.map vendored

Binary file not shown.

BIN
dist/showdown.min.js vendored

Binary file not shown.

Binary file not shown.

View File

@ -254,7 +254,7 @@ showdown.helper.replaceRecursiveRegExp = function (str, replacement, left, right
/**
* POLYFILLS
*/
if (showdown.helper.isUndefined(console)) {
if (typeof(console) == "undefined") {
console = {
warn: function (msg) {
'use strict';