mirror of
https://github.com/google/blockly.git
synced 2026-01-04 15:40:08 +01:00
Private/protected visibility cleanup (#3263)
* Fix a number of private visibility issues
This commit is contained in:
@@ -71,7 +71,7 @@ BlockFactory.updateBlocksFlag = false;
|
||||
// TODO: Replace global state with parameter passed to functions.
|
||||
BlockFactory.updateBlocksFlagDelayed = false;
|
||||
|
||||
/*
|
||||
/**
|
||||
* The starting XML for the Block Factory main workspace. Contains the
|
||||
* unmovable, undeletable factory_base block.
|
||||
*/
|
||||
|
||||
@@ -988,7 +988,7 @@ FactoryUtils.cleanXml = function(xml) {
|
||||
return newXml;
|
||||
};
|
||||
|
||||
/*
|
||||
/**
|
||||
* Checks if a block has a variable field. Blocks with variable fields cannot
|
||||
* be shadow blocks.
|
||||
* @param {Blockly.Block} block The block to check if a variable field exists.
|
||||
|
||||
@@ -917,7 +917,7 @@ WorkspaceFactoryController.prototype.clearAll = function() {
|
||||
this.updatePreview();
|
||||
};
|
||||
|
||||
/*
|
||||
/**
|
||||
* Makes the currently selected block a user-generated shadow block. These
|
||||
* blocks are not made into real shadow blocks, but recorded in the model
|
||||
* and visually marked as shadow blocks, allowing the user to move and edit
|
||||
@@ -1262,7 +1262,7 @@ WorkspaceFactoryController.prototype.importBlocks = function(file, format) {
|
||||
reader.readAsText(file);
|
||||
};
|
||||
|
||||
/*
|
||||
/**
|
||||
* Updates the block library category in the toolbox workspace toolbox.
|
||||
* @param {!Element} categoryXml XML for the block library category.
|
||||
* @param {!Array.<string>} libBlockTypes Array of block types from the block
|
||||
@@ -1323,7 +1323,7 @@ WorkspaceFactoryController.prototype.warnForUndefinedBlocks_ = function() {
|
||||
}
|
||||
};
|
||||
|
||||
/*
|
||||
/**
|
||||
* Determines if a standard variable category is in the custom toolbox.
|
||||
* @return {boolean} True if a variables category is in use, false otherwise.
|
||||
*/
|
||||
|
||||
@@ -390,7 +390,7 @@ WorkspaceFactoryModel.prototype.setOptions = function(options) {
|
||||
this.options = options;
|
||||
};
|
||||
|
||||
/*
|
||||
/**
|
||||
* Returns an array of all the block types currently being used in the toolbox
|
||||
* and the pre-loaded blocks. No duplicates.
|
||||
* TODO(evd2014): Move pushBlockTypesToList to FactoryUtils.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/*
|
||||
/**
|
||||
* Copyright (C) 2013 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
|
||||
Reference in New Issue
Block a user