1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-23 19:45:46 +01:00

Move util.identity to the base module.

Most other functions of its ilk live there.
This commit is contained in:
Doug Kearns
2015-06-11 03:10:16 +10:00
parent 6ca1cc3d08
commit 59613afb27
20 changed files with 49 additions and 46 deletions

View File

@@ -659,7 +659,7 @@ var DOM = Class("DOM", {
res.push({}.toString.call(elem));
}
}, this);
res = template.map(res, util.identity, ",");
res = template.map(res, identity, ",");
return color ? res : res.join("");
},