diff --git a/app/public/blocks.js b/app/public/blocks.js
index 7ba4dec..9eae70f 100644
--- a/app/public/blocks.js
+++ b/app/public/blocks.js
@@ -1095,17 +1095,6 @@ Blockly.Blocks['datastorage_svc_get'] = {
}
};
-// print((function()
-// local success, result = pcall(function()
-// return experienceStore:GetAsync("User_1234")
-// end)
-// if not success then
-// print(result)
-// return nil
-// end
-// return result
-// end)())
-
// wrapper function for simpler usage
Blockly.Lua['datastorage_svc_get'] = function (block) {
var value_name = Blockly.Lua.valueToCode(block, 'NAME', Blockly.Lua.ORDER_ATOMIC);
@@ -1148,13 +1137,6 @@ Blockly.Blocks['datastorage_svc_set'] = {
}
};
-// local success, errorMessage = pcall(function()
-// experienceStore:SetAsync("User_1234", 50)
-// end)
-// if not success then
-// print(errorMessage)
-// end
-
Blockly.Lua['datastorage_svc_set'] = function (block) {
var value_name = Blockly.Lua.valueToCode(block, 'NAME', Blockly.Lua.ORDER_ATOMIC);
var variable_datastore = Blockly.Lua.nameDB_.getName(block.getFieldValue('DATASTORE'), Blockly.Variables.CATEGORY_NAME);
diff --git a/app/public/index.html b/app/public/index.html
index 8da3970..186a961 100644
--- a/app/public/index.html
+++ b/app/public/index.html
@@ -64,7 +64,7 @@
-
+
diff --git a/app/public/sync.js b/app/public/sync.js
index 1a1b1af..09a8f60 100644
--- a/app/public/sync.js
+++ b/app/public/sync.js
@@ -43,7 +43,7 @@ function showCode() {
// Generate Lua code and display it.
Blockly.Lua.INFINITE_LOOP_TRAP = null;
var code = Blockly.Lua.workspaceToCode(demoWorkspace);
- alert(code);
+ console.log(code);
}
async function sendMessage(message) {