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);