mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-23 06:51:12 +02:00
load screenlog before external JS
This commit is contained in:
@@ -134,7 +134,8 @@ export default class AddLibrary extends Component {
|
||||
https://cdnjs.cloudflare.com, https://unpkg.com,
|
||||
https://maxcdn.com, https://cdn77.com,
|
||||
https://maxcdn.bootstrapcdn.com, https://cdn.jsdelivr.net/,
|
||||
https://rawgit.com, https://wzrd.in, https://cdn.tailwindcss.com
|
||||
https://rawgit.com, https://wzrd.in, https://cdn.tailwindcss.com,
|
||||
https://assets.webmaker.app
|
||||
</p>
|
||||
|
||||
<textarea
|
||||
|
@@ -406,8 +406,6 @@ export function getCompleteHtml(html, css, js, item, isForExport) {
|
||||
'</head>\n' +
|
||||
'<body>\n' +
|
||||
html +
|
||||
'\n' +
|
||||
externalJs +
|
||||
'\n';
|
||||
|
||||
if (!isForExport) {
|
||||
@@ -421,6 +419,8 @@ export function getCompleteHtml(html, css, js, item, isForExport) {
|
||||
'"></script>';
|
||||
}
|
||||
|
||||
contents += '\n' + externalJs;
|
||||
|
||||
if (item.jsMode === JsModes.ES6) {
|
||||
contents +=
|
||||
'<script src="' +
|
||||
|
Reference in New Issue
Block a user