1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-31 12:33:33 +02: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

@@ -165,7 +165,7 @@ var Download = Class("Download", {
let val = this._compare[order.substr(1)](this, other);
return (order[0] == "-") ? -val : val;
}, this).find(util.identity) || 0,
}, this).find(identity) || 0,
timeRemaining: Infinity,