diff --git a/core/client.js b/core/client.js index 7839c2b3..5b1a5c48 100644 --- a/core/client.js +++ b/core/client.js @@ -647,6 +647,7 @@ function removeFile() { } window.addEventListener("load", function() { + Split(['#editPane', '#viewPane'], {minSize: 0}); if (window.Notification) { Notification.requestPermission(); } diff --git a/core/core.js b/core/core.js index b461a95a..16be936e 100644 --- a/core/core.js +++ b/core/core.js @@ -285,6 +285,8 @@ var kStaticFiles = [ {uri: '/client.js', type: 'text/javascript; charset=UTF-8'}, {uri: '/robots.txt', type: 'text/plain; charset=UTF-8'}, + {uri: '/split.min.js'}, + {uri: '/split.min.js.map'}, {uri: '/codemirror/codemirror.min.js'}, {uri: '/codemirror/base16-dark.min.css'}, {uri: '/codemirror/matchesonscrollbar.min.css'}, @@ -344,6 +346,7 @@ async function speedScopeHandler(request, response, uri) { 'js': 'text/javascript', 'html': 'text/html', 'css': 'text/css', + 'map': 'application/json', }; try { var data = await File.readFile("deps/speedscope/" + filename); diff --git a/core/index.html b/core/index.html index fe1b9938..c0f0d38c 100644 --- a/core/index.html +++ b/core/index.html @@ -42,10 +42,11 @@ -