1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-24 12:35:53 +01:00

Add filtering to :addons and :downloads. Add -type flag to :addons.

--HG--
extra : transplant_source : %06i65%11-C%E7b%12%C0%8E%8C%8Ed%C9%ED8I%13
This commit is contained in:
Kris Maglione
2011-01-24 05:05:57 -05:00
parent fb4aafc21e
commit 74b6710484
6 changed files with 70 additions and 14 deletions

View File

@@ -297,11 +297,11 @@ function deprecated(alternative, fn) {
* @param {object} obj The object to inspect.
* @returns {Generator}
*/
function keys(obj) {
function keys(obj) iter(function keys() {
for (var k in obj)
if (hasOwnProperty.call(obj, k))
yield k;
}
}());
/**
* Iterates over all of the top-level, iterable property values of an
* object.