on master help sign in
Fix debugger pane in IE
70660c2Evan Czaplicki
runtime/Debugger.js+7
@@ -2,6 +2,13 @@
2(function() {
2(function() {
3'use strict';
3'use strict';
4
4
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+
5Elm.Debugger = null;
12Elm.Debugger = null;
6Elm.debuggerAttach = function(module, hotSwapState /* =undefined */) {
13Elm.debuggerAttach = function(module, hotSwapState /* =undefined */) {
7 return {
14 return {