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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user