mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
JS: camelCase changes
This commit is contained in:
@@ -12,14 +12,14 @@ while (dialog.message("Interactive Console", result)) {
|
||||
let input = keyboard.text(256);
|
||||
if (!input) break;
|
||||
|
||||
let path = tmp_template + to_string(tmp_number++);
|
||||
let path = tmp_template + toString(tmp_number++);
|
||||
storage.write(path, "({run:function(){return " + input + ";},})");
|
||||
result = load(path).run();
|
||||
storage.remove(path);
|
||||
|
||||
// Must convert to string explicitly
|
||||
if (typeof result === "number") {
|
||||
result = to_string(result);
|
||||
result = toString(result);
|
||||
} else if (typeof result === "undefined") {
|
||||
result = "undefined";
|
||||
} else if (typeof result === "boolean") {
|
||||
|
||||
Reference in New Issue
Block a user