mirror of
https://github.com/google/blockly.git
synced 2026-01-15 21:07:14 +01:00
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:
@@ -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);
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user