mirror of
https://github.com/google/blockly.git
synced 2025-12-16 06:10:12 +01:00
Update block_exporter_controller.js
Default export type of Generator Stub section is set to '.js' while downloading it in Block Export (in Block Factory)
This commit is contained in:
committed by
Andrew n marshall
parent
0d085c27b2
commit
4bbd83820c
@@ -139,7 +139,7 @@ BlockExporterController.prototype.export = function() {
|
||||
var fileType = (language == 'JavaScript') ? 'javascript' : 'plain';
|
||||
// Download the file.
|
||||
FactoryUtils.createAndDownloadFile(
|
||||
genStubs, generatorStub_filename, fileType);
|
||||
genStubs, generatorStub_filename + '.js', fileType);
|
||||
BlocklyDevTools.Analytics.onExport(
|
||||
BlocklyDevTools.Analytics.GENERATOR,
|
||||
(fileType == 'javascript' ?
|
||||
|
||||
Reference in New Issue
Block a user