1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-02-23 14:44:53 +01:00

remove extra slash from base_path

This commit is contained in:
Kushagra Gour 2017-11-20 00:29:02 +05:30
parent 8f0b15117f
commit a5722564a4

View File

@ -997,7 +997,7 @@ globalConsoleContainerEl, externalLibrarySearchInput, keyboardShortcutsModal
'<script src="' +
(chrome.extension
? chrome.extension.getURL('lib/screenlog.js')
: `${location.origin}/${BASE_PATH}/lib/screenlog.js`) +
: `${location.origin}${BASE_PATH}/lib/screenlog.js`) +
'"></script>';
}
@ -1999,7 +1999,7 @@ globalConsoleContainerEl, externalLibrarySearchInput, keyboardShortcutsModal
function init() {
var lastCode;
CodeMirror.modeURL = `${BASE_PATH}/lib/codemirror/mode/%N/%N.js`;
CodeMirror.modeURL = `lib/codemirror/mode/%N/%N.js`;
function getToggleLayoutButtonListener(mode) {
return function() {