From 04c5a2997fc6ae7134ea228205238d4e7942cec4 Mon Sep 17 00:00:00 2001 From: Pascal Thomet Date: Wed, 13 Mar 2024 08:16:48 +0100 Subject: [PATCH] emscripten / closure: some more var keywords in shell.emscripten.html --- hello_imgui_cmake/emscripten/shell.emscripten.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hello_imgui_cmake/emscripten/shell.emscripten.html b/hello_imgui_cmake/emscripten/shell.emscripten.html index 5c6e6b73..ef07087f 100644 --- a/hello_imgui_cmake/emscripten/shell.emscripten.html +++ b/hello_imgui_cmake/emscripten/shell.emscripten.html @@ -42,12 +42,12 @@ postRun: [], print: (function() { return function(text) { - text = Array.prototype.slice.call(arguments).join(' '); + var text = Array.prototype.slice.call(arguments).join(' '); console.log(text); }; })(), printErr: function(text) { - text = Array.prototype.slice.call(arguments).join(' '); + var text = Array.prototype.slice.call(arguments).join(' '); console.error(text); }, canvas: (function() {