From 9e04be7797d003d89781fce9f056e01b6153a223 Mon Sep 17 00:00:00 2001 From: Rachel Fenichel Date: Wed, 17 Nov 2021 10:29:06 -0800 Subject: [PATCH] chore: fix bad merge --- core/blockly.js | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/core/blockly.js b/core/blockly.js index fe9dcb92e82..5ada7495ed3 100644 --- a/core/blockly.js +++ b/core/blockly.js @@ -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} jsonArray An array of JSON block definitions.