Fix two incorrect URLs in Closure dialog.

This commit is contained in:
Neil Fraser
2016-10-14 02:39:10 -07:00
parent c60e91d60e
commit c677a8efe4

View File

@@ -633,7 +633,7 @@ AppController.prototype.confirmLeavePage = function() {
* Initialize Blockly and layout. Called on page load.
*/
AppController.prototype.init = function() {
// Blockly factory has a dependency on bits of Closure that core Blockly
// Block Factory has a dependency on bits of Closure that core Blockly
// doesn't have. When you run this from file:// without a copy of Closure,
// it breaks it non-obvious ways. Warning about this for now until the
// dependency is broken.
@@ -641,9 +641,9 @@ AppController.prototype.init = function() {
if (!window.goog.dom.xml) {
alert('Sorry: Closure dependency not found. We are working on removing ' +
'this dependency. In the meantime, you can use our hosted demo\n ' +
'https://blockly-demo.appspot.com/static/demos/blocklyfactory/index.html' +
'https://blockly-demo.appspot.com/static/demos/blockfactory/index.html' +
'\nor use these instructions to continue running locally:\n' +
'https:developers.google.com/blockly/guides/modify/web/closure');
'https://developers.google.com/blockly/guides/modify/web/closure');
return;
}