1
0
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:
Kris Maglione
2008-11-29 19:46:29 +00:00
parent 92e8615207
commit 137d9cc939
4 changed files with 65 additions and 75 deletions

View File

@@ -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;