mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Remove unnecessary escape character
http://eslint.org/docs/rules/no-useless-escape
This commit is contained in:
parent
48fddcb7bd
commit
f4f339c4d5
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ function setupFileSystem(backend)
|
|||
* Retrieve the value of the given GET parameter.
|
||||
*/
|
||||
function getParam(name) {
|
||||
var results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(window.location.href);
|
||||
var results = new RegExp('[?&]' + name + '=([^&#]*)').exec(window.location.href);
|
||||
if (results) {
|
||||
return results[1] || null;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue