mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
Cannot use isUndefined on console object in IE8, will throw javascript error
This commit is contained in:
parent
984942e239
commit
cb2761ae3d
BIN
dist/showdown.js
vendored
BIN
dist/showdown.js
vendored
Binary file not shown.
BIN
dist/showdown.js.map
vendored
BIN
dist/showdown.js.map
vendored
Binary file not shown.
BIN
dist/showdown.min.js
vendored
BIN
dist/showdown.min.js
vendored
Binary file not shown.
BIN
dist/showdown.min.js.map
vendored
BIN
dist/showdown.min.js.map
vendored
Binary file not shown.
|
@ -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';
|
||||
|
|
Loading…
Reference in New Issue
Block a user