1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-26 08:11:17 +02:00

add support for templates

This commit is contained in:
Kushagra Gour
2018-07-09 23:25:12 +05:30
parent 66cf5ef0eb
commit f3f9bf6b08
12 changed files with 214 additions and 43 deletions

View File

@@ -345,7 +345,9 @@ export function getCompleteHtml(html, css, js, item, isForExport) {
'<script src="' +
(chrome.extension
? chrome.extension.getURL('lib/screenlog.js')
: `${location.origin}${BASE_PATH}/lib/screenlog.js`) +
: `${location.origin}${
window.DEBUG ? '' : BASE_PATH
}/lib/screenlog.js`) +
'"></script>';
}