mirror of
https://github.com/google/blockly.git
synced 2025-12-15 13:50:08 +01:00
docs: Add notice to use unpkg instead of demos. (#6667)
Logs show about a dozen orgs actively using Blockly instances that are hot-linked to blockly-demo.appspot.com These files disappeared on 25 November 2022, breaking a bunch of people. This alert should point developers in the right direction.
This commit is contained in:
11
appengine/blockly_compressed.js
Normal file
11
appengine/blockly_compressed.js
Normal file
@@ -0,0 +1,11 @@
|
||||
// Added November 2022 after discovering that a number of orgs were hot-linking
|
||||
// their Blockly applications to https://blockly-demo.appspot.com/
|
||||
// Delete this file in early 2024.
|
||||
var msg = 'Compiled Blockly files should be loaded from https://unpkg.com/blockly/\n' +
|
||||
'For help, contact https://groups.google.com/g/blockly';
|
||||
console.log(msg);
|
||||
try {
|
||||
alert(msg);
|
||||
} catch (_e) {
|
||||
// Can't alert? Probably node.js.
|
||||
}
|
||||
Reference in New Issue
Block a user