-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathutils.js
16 lines (14 loc) · 929 Bytes
/
utils.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class UTILS {
constructor() {
}
getInfo() {
return {
"id": "UTILS",
"name": "UTILS",
"blocks": [{ "opcode": "commentBlock", "blocktype": "block", "text": "Comment:[txt1]", "arguments": {"txt1": {"type": "string", "defaultValue": "Comment"}}},{"opcode": "inlinecom", "blockType": "reporter", "text": "comment:[txt2] value:[actv1]", "arguments": {"txt2": {"type": "string", "defaultValue": "Inline Comment"}, "actv1": {"type": "string", "defaultValue": "Actual Value"}}},{"opcode": "unused", "blockType": "hat", "text": "Unused Code/Thread Tester", "arguments": null},{"opcode": "nullReport", "blockType": "reporter", "text": "null", "arguments": null},{"opcode": "bruh", "blockType": "bruh", "text": "bruh", "arguments":null}]
}
}
inlinecom({txt2,actv1}){return actv1}
nullReport(){return ""}
}
Scratch.extensions.register(new UTILS())