diff --git a/index.js b/index.js index 86a49fc..f3f34de 100644 --- a/index.js +++ b/index.js @@ -18,6 +18,8 @@ var ASN1 = require('./asn1'), hash = null; require('./dom'); // side effect: augment ASN1 +if (!window.console || !window.console.log) // IE8 with closed developer tools + window.console = { log: function () {} }; function id(elem) { return document.getElementById(elem); }