blob: 14613c5df223e5ccd55fab0ec4127b478a41b584 (
plain)
1
2
3
4
5
|
// Route URL GET parameters to argc+argv
Module['arguments'] = window.location.search.substr(1).trim().split('&');
// If no args were passed arguments = [''], in which case kill the single empty string.
if (!Module['arguments'][0])
Module['arguments'] = [];
|