1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-13 10:06:23 +02: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="' + '<script src="' +
(chrome.extension (chrome.extension
? chrome.extension.getURL('lib/screenlog.js') ? chrome.extension.getURL('lib/screenlog.js')
: `${location.origin}/${BASE_PATH}/lib/screenlog.js`) + : `${location.origin}${BASE_PATH}/lib/screenlog.js`) +
'"></script>'; '"></script>';
} }
@ -1999,7 +1999,7 @@ globalConsoleContainerEl, externalLibrarySearchInput, keyboardShortcutsModal
function init() { function init() {
var lastCode; var lastCode;
CodeMirror.modeURL = `${BASE_PATH}/lib/codemirror/mode/%N/%N.js`; CodeMirror.modeURL = `lib/codemirror/mode/%N/%N.js`;
function getToggleLayoutButtonListener(mode) { function getToggleLayoutButtonListener(mode) {
return function() { return function() {