feat(demos): Use freshly-built files

Use the freshly-built dist/*_compresssed.js and build/msg/* files
rather than using the checked-in files in the repository root.

This helps ensure that these demos are using the most recent
version of Blockly (even in the develop branch).
This commit is contained in:
Christopher Allen
2022-10-04 15:40:09 +01:00
parent 3f2ff199b3
commit 8d06fe74c2
10 changed files with 46 additions and 32 deletions

View File

@@ -621,6 +621,6 @@ Code.discard = function() {
// Load the Code demo's language strings.
document.write('<script src="msg/' + Code.LANG + '.js"></script>\n');
// Load Blockly's language strings.
document.write('<script src="../../msg/js/' + Code.LANG + '.js"></script>\n');
document.write('<script src="../../build/msg/' + Code.LANG + '.js"></script>\n');
window.addEventListener('load', Code.init);

View File

@@ -7,13 +7,13 @@
<title>Blockly Demo:</title>
<link rel="stylesheet" href="style.css">
<script src="/storage.js"></script>
<script src="../../blockly_compressed.js"></script>
<script src="../../blocks_compressed.js"></script>
<script src="../../javascript_compressed.js"></script>
<script src="../../python_compressed.js"></script>
<script src="../../php_compressed.js"></script>
<script src="../../lua_compressed.js"></script>
<script src="../../dart_compressed.js"></script>
<script src="../../dist/blockly_compressed.js"></script>
<script src="../../dist/blocks_compressed.js"></script>
<script src="../../dist/javascript_compressed.js"></script>
<script src="../../dist/python_compressed.js"></script>
<script src="../../dist/php_compressed.js"></script>
<script src="../../dist/lua_compressed.js"></script>
<script src="../../dist/dart_compressed.js"></script>
<script src="code.js"></script>
</head>
<body>