1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 09:27:58 +01:00

Allow :setcomm /dev/null <(js -Cv180 options.js |& grep .) all&

This commit is contained in:
Kris Maglione
2009-11-13 22:04:50 -05:00
parent a9e8d9d691
commit a8f8ebaeb5
2 changed files with 10 additions and 2 deletions

View File

@@ -782,6 +782,9 @@ const Util = Module("util", {
isinstance: function isinstance(obj) {
return Object.prototype.toString.call(obj) == "[object Array]";
},
toString: function () this.__proto__.toString(),
/**
* Converts an array to an object. As in lisp, an assoc is an
* array of key-value pairs, which maps directly to an object,