on master help sign in
Fix debugger pane in IE
commit70660c2b838665134713e85fa95900b8030de1d0 authorEvan Czaplicki <info@elm-lang.org> dateMon 14 Apr 2014, 00:10 (13 years ago) parentd6201ee
1 file changed+7
runtime/Debugger.js+7
runtime/Debugger.js+7
@@ -2,6 +2,13 @@
22(function() {
33'use strict';
44
5+if (!window.location.origin) {
6+ window.location.origin =
7+ window.location.protocol + "//" +
8+ window.location.hostname +
9+ (window.location.port ? (':' + window.location.port) : '');
10+}
11+
512Elm.Debugger = null;
613Elm.debuggerAttach = function(module, hotSwapState /* =undefined */) {
714 return {