From cd0051c81b46aedb8b94faab0b37605e3308b208 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diana=20L=C3=B3pez=20Alvas?= Date: Fri, 12 Jul 2024 11:19:26 -0300 Subject: [PATCH] ups --- package-lock.json | 6 +++++- src/components/blockly/blockly.ts | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4db2a88f..91d291ae 100644 --- a/package-lock.json +++ b/package-lock.json @@ -116,6 +116,9 @@ "../blockly-proceds": { "version": "1.0.0", "license": "Apache-2.0", + "dependencies": { + "google-closure-library": "^20230802.0.0" + }, "devDependencies": { "@blockly/dev-scripts": "^4.0.1", "@blockly/dev-tools": "^8.0.2", @@ -32431,7 +32434,8 @@ "requires": { "@blockly/dev-scripts": "^4.0.1", "@blockly/dev-tools": "^8.0.2", - "blockly": "^11.1.1" + "blockly": "^11.1.1", + "google-closure-library": "^20230802.0.0" } }, "bluebird": { diff --git a/src/components/blockly/blockly.ts b/src/components/blockly/blockly.ts index b2939bb8..e6939b85 100644 --- a/src/components/blockly/blockly.ts +++ b/src/components/blockly/blockly.ts @@ -1350,7 +1350,7 @@ const createOthersBlocks = (t: (key: string) => string) => { categoryId: 'myprocedures', }; - ProcedsBlocklyInit() + ProcedsBlocklyInit(Blockly) Blockly.Blocks['Procedimiento'] = { init: Blockly.Blocks['procedures_defnoreturn'].init, setStatements_: Blockly.Blocks['procedures_defnoreturn'].setStatements_,