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

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

--HG--
branch : key-processing
This commit is contained in:
Kris Maglione
2011-01-24 05:05:57 -05:00
parent 93b9aade1d
commit e0e2e805f7
7 changed files with 71 additions and 15 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.