Skip to content

Commit

Permalink
emscripten / closure: some more var keywords in shell.emscripten.html
Browse files Browse the repository at this point in the history
  • Loading branch information
pthom committed Mar 13, 2024
1 parent 044e164 commit 04c5a29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hello_imgui_cmake/emscripten/shell.emscripten.html
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 04c5a29

Please sign in to comment.