diff --git a/dist/showdown.js b/dist/showdown.js index 2291502..fec3a5b 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 52bb838..95e140b 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 b0676c7..52808f8 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 347053f..56cc107 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..b7abd01 100644 --- a/src/helpers.js +++ b/src/helpers.js @@ -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';