mam 1.11.556 → 1.11.557
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/node.js +1 -1
- package/node.js.map +1 -1
- package/node.mjs +1 -1
- package/node.test.js +1 -1
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/test.html +1 -1
package/node.js
CHANGED
|
@@ -6507,7 +6507,7 @@ var $;
|
|
|
6507
6507
|
const name = '$' + pack.relate(this.root()).replaceAll('/', '_');
|
|
6508
6508
|
let content = source.exists()
|
|
6509
6509
|
? source.text()
|
|
6510
|
-
: `<!doctype html><meta charset="utf-8" /><body mol_view_root="${name}"><script src="web.js" charset="utf-8"></script>`;
|
|
6510
|
+
: `<!doctype html><meta charset="utf-8" /><html mol_view_root><body mol_view_root="${name}"><script src="web.js" charset="utf-8"></script>`;
|
|
6511
6511
|
content = content.replace(/(<\/body>|$)/, `
|
|
6512
6512
|
<script src="/mol/build/client/client.js" charset="utf-8"></script>
|
|
6513
6513
|
<script src="web.test.js" charset="utf-8"></script>
|