mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-23 23:11: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://cdnjs.cloudflare.com, https://unpkg.com,
|
||||||
https://maxcdn.com, https://cdn77.com,
|
https://maxcdn.com, https://cdn77.com,
|
||||||
https://maxcdn.bootstrapcdn.com, https://cdn.jsdelivr.net/,
|
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>
|
</p>
|
||||||
|
|
||||||
<textarea
|
<textarea
|
||||||
|
@@ -406,8 +406,6 @@ export function getCompleteHtml(html, css, js, item, isForExport) {
|
|||||||
'</head>\n' +
|
'</head>\n' +
|
||||||
'<body>\n' +
|
'<body>\n' +
|
||||||
html +
|
html +
|
||||||
'\n' +
|
|
||||||
externalJs +
|
|
||||||
'\n';
|
'\n';
|
||||||
|
|
||||||
if (!isForExport) {
|
if (!isForExport) {
|
||||||
@@ -421,6 +419,8 @@ export function getCompleteHtml(html, css, js, item, isForExport) {
|
|||||||
'"></script>';
|
'"></script>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
contents += '\n' + externalJs;
|
||||||
|
|
||||||
if (item.jsMode === JsModes.ES6) {
|
if (item.jsMode === JsModes.ES6) {
|
||||||
contents +=
|
contents +=
|
||||||
'<script src="' +
|
'<script src="' +
|
||||||
|
Reference in New Issue
Block a user