mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 21:31:53 +00:00
11 lines
292 B
JavaScript
11 lines
292 B
JavaScript
/*global Module*/
|
|
Module["arguments"] = [];
|
|
|
|
// Add all parameters passed via the fragment identifier
|
|
if (window.location.hash.length > 0) {
|
|
params = decodeURI(window.location.hash.substring(1)).split(" ")
|
|
params.forEach((param) => {
|
|
Module["arguments"].push(param);
|
|
})
|
|
}
|