mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-22 18:58:21 +00:00
(Emscripten) Use .bind() on the console object
This commit is contained in:
parent
8564a5b266
commit
993de8b4c4
@ -239,9 +239,9 @@ var Module =
|
||||
arguments: ["-v", "--menu"],
|
||||
preRun: [],
|
||||
postRun: [],
|
||||
// Print both stdout and stderr to the browser console.
|
||||
print: console.log,
|
||||
printErr: console.log,
|
||||
// Log both stdout and stderr with the browser's console object.
|
||||
print: console.log.bind(console),
|
||||
printErr: console.log.bind(console),
|
||||
canvas: document.getElementById('canvas'),
|
||||
totalDependencies: 0,
|
||||
monitorRunDependencies: function(left)
|
||||
|
Loading…
Reference in New Issue
Block a user