mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-10 20:14:11 +01:00
Fix some CPOW issues. Everything is still terrible, though.
This commit is contained in:
@@ -64,7 +64,7 @@ var Cache = Module("Cache", XPCOM(Ci.nsIRequestObserver), {
|
||||
},
|
||||
|
||||
parse: function parse(str) {
|
||||
if ('{['.contains(str[0]))
|
||||
if ('{['.includes(str[0]))
|
||||
return JSON.parse(str);
|
||||
return str;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user