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

Add :list* commands, linkify help tags in certain output, and augment :yank to accept JavaScript directly.

This commit is contained in:
Kris Maglione
2010-12-18 11:54:31 -05:00
parent 3f343d0d98
commit f1e4ef93df
11 changed files with 197 additions and 37 deletions

View File

@@ -30,7 +30,7 @@ memoize(this, "Commands", function () {
const FailedAssertion = Class("FailedAssertion", Error, {
init: function (message) {
this.message = message;
update(this, Error(message))
}
});
@@ -102,7 +102,7 @@ const Util = Module("Util", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference])
*/
assert: function (condition, message) {
if (!condition)
throw new FailedAssertion(message);
throw FailedAssertion(message);
},
get chromePackages() {