Log -> Console

This commit is contained in:
Lubos Lenco
2021-05-06 16:44:25 +02:00
parent 859d3688c2
commit 1f54fb9db4
26 changed files with 47 additions and 47 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ plugin.drawUI = function(ui) {
let v = core.ReflectField(d, n);
if (core.StdIs(v, Array)) {
if (core.StdIs(v[0], Number)) {
arm.Log.trace(n);
console.log(n);
let ar = null;
if (v[0] === 0) ar = new Float32Array(v.length - 1);
else if (v[0] === 1) ar = new Uint32Array(v.length - 1);
+1 -1
View File
@@ -14,7 +14,7 @@ plugin.drawUI = function(ui) {
ui.text("Label");
ui.textInput(h7, "Text Input");
if (ui.button("Button")) {
arm.Log.error("Hello");
console.error("Hello");
}
ui.row([1/2, 1/2]);
ui.button("Button A");
File diff suppressed because one or more lines are too long