diff --git a/dist/showdown.js b/dist/showdown.js index eddb12a..057d96f 100644 Binary files a/dist/showdown.js and b/dist/showdown.js differ diff --git a/dist/showdown.js.map b/dist/showdown.js.map index 228a005..a2a480d 100644 Binary files a/dist/showdown.js.map and b/dist/showdown.js.map differ diff --git a/dist/showdown.min.js b/dist/showdown.min.js index 8a5fe7c..36d0aba 100644 Binary files a/dist/showdown.min.js and b/dist/showdown.min.js differ diff --git a/dist/showdown.min.js.map b/dist/showdown.min.js.map index 21a5190..50e7fb8 100644 Binary files a/dist/showdown.min.js.map and b/dist/showdown.min.js.map differ diff --git a/src/helpers.js b/src/helpers.js index d3fbe64..fb21348 100644 --- a/src/helpers.js +++ b/src/helpers.js @@ -254,7 +254,8 @@ showdown.helper.replaceRecursiveRegExp = function (str, replacement, left, right /** * POLYFILLS */ -if (showdown.helper.isUndefined(console)) { +// use this instead of builtin is undefined for IE8 compatibility +if (typeof(console) === 'undefined') { console = { warn: function (msg) { 'use strict';