mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-18 15:45:46 +01:00
Kill filterURLArray
This commit is contained in:
@@ -138,6 +138,8 @@ const util = { //{{{
|
||||
|
||||
cloneObject: function cloneObject(obj)
|
||||
{
|
||||
if (obj instanceof Array)
|
||||
return obj.slice();
|
||||
let newObj = {};
|
||||
for (let [k, v] in Iterator(obj))
|
||||
newObj[k] = v;
|
||||
|
||||
Reference in New Issue
Block a user