diff --git a/core/css.js b/core/css.js index d03769f38..cc8c28279 100644 --- a/core/css.js +++ b/core/css.js @@ -72,17 +72,6 @@ Blockly.Css.inject = function(hasCss, pathToMedia) { document.head.insertBefore(cssNode, document.head.firstChild); }; -/** - * Set the cursor to be displayed when over something draggable. - * See https://github.com/google/blockly/issues/981 for context. - * @param {*} _cursor Enum. - * @deprecated April 2017. - */ -Blockly.Css.setCursor = function(_cursor) { - console.warn('Deprecated call to Blockly.Css.setCursor. ' + - 'See issue #981 for context'); -}; - /** * Array making up the CSS content for Blockly. */ diff --git a/core/variables.js b/core/variables.js index 6aa9374d5..fc2f5821f 100644 --- a/core/variables.js +++ b/core/variables.js @@ -63,20 +63,6 @@ Blockly.Variables.allUsedVarModels = function(ws) { return variableList; }; -/** - * Find all user-created variables that are in use in the workspace and return - * only their names. - * For use by generators. - * To get a list of all variables on a workspace, including unused variables, - * call Workspace.getAllVariables. - * @deprecated January 2018 - */ -Blockly.Variables.allUsedVariables = function() { - console.warn('Deprecated call to Blockly.Variables.allUsedVariables. ' + - 'Use Blockly.Variables.allUsedVarModels instead.\nIf this is a major ' + - 'issue please file a bug on GitHub.'); -}; - /** * @private * @type {Object} diff --git a/core/workspace.js b/core/workspace.js index 02287e10c..591fbcdf3 100644 --- a/core/workspace.js +++ b/core/workspace.js @@ -409,21 +409,6 @@ Blockly.Workspace.prototype.deleteVariableById = function(id) { this.variableMap_.deleteVariableById(id); }; -/** - * Check whether a variable exists with the given name. The check is - * case-insensitive. - * @param {string} _name The name to check for. - * @return {number} The index of the name in the variable list, or -1 if it is - * not present. - * @deprecated April 2017 - */ - -Blockly.Workspace.prototype.variableIndexOf = function(_name) { - console.warn( - 'Deprecated call to Blockly.Workspace.prototype.variableIndexOf'); - return -1; -}; - /** * Find the variable by the given name and return it. Return null if it is not * found. diff --git a/core/workspace_svg.js b/core/workspace_svg.js index e8c378629..dfa2430ff 100644 --- a/core/workspace_svg.js +++ b/core/workspace_svg.js @@ -1231,16 +1231,6 @@ Blockly.WorkspaceSvg.prototype.render = function() { this.markerManager_.updateMarkers(); }; -/** - * Was used back when block highlighting (for execution) and block selection - * (for editing) were the same thing. - * Any calls of this function can be deleted. - * @deprecated October 2016 - */ -Blockly.WorkspaceSvg.prototype.traceOn = function() { - console.warn('Deprecated call to traceOn, delete this.'); -}; - /** * Highlight or unhighlight a block in the workspace. Block highlighting is * often used to visually mark blocks currently being executed.