Skip to content

Commit

Permalink
chore: fix bad merge
Browse files Browse the repository at this point in the history
  • Loading branch information
rachel-fenichel committed Nov 17, 2021
1 parent 467d3a6 commit 9e04be7
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions core/blockly.js
Original file line number Diff line number Diff line change
Expand Up @@ -371,22 +371,6 @@ exports.hideChaff = hideChaff;
exports.getMainWorkspace = common.getMainWorkspace;

/**
<<<<<<< HEAD
* Helper function for defining a block from JSON. The resulting function has
* the correct value of jsonDef at the point in code where jsonInit is called.
* @param {!Object} jsonDef The JSON definition of a block.
* @return {function()} A function that calls jsonInit with the correct value
* of jsonDef.
*/
const jsonInitFactory = function(jsonDef) {
return /** @this {Block} */ function() {
this.jsonInit(jsonDef);
};
};

/**
=======
>>>>>>> 3a06cd866 (chore: move remaining function definitions out of blockly.js)
* Define blocks from an array of JSON block definitions, as might be generated
* by the Blockly Developer Tools.
* @param {!Array<!Object>} jsonArray An array of JSON block definitions.
Expand Down

0 comments on commit 9e04be7

Please sign in to comment.