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

Update :au to use args parser, and perform certain replacements (more to come?).

This commit is contained in:
Kris Maglione
2008-10-11 01:29:03 +00:00
parent 29cc805622
commit e92a35a197
6 changed files with 92 additions and 67 deletions

View File

@@ -1155,7 +1155,7 @@ const liberator = (function () //{{{
}
liberator.triggerObserver("enter", null);
liberator.autocommands.trigger(liberator.config.name + "Enter", "");
liberator.autocommands.trigger(liberator.config.name + "Enter", {});
}, 0);
liberator.statusline.update();
@@ -1165,7 +1165,7 @@ const liberator = (function () //{{{
shutdown: function ()
{
liberator.autocommands.trigger(liberator.config.name + "LeavePre", "");
liberator.autocommands.trigger(liberator.config.name + "LeavePre", {});
liberator.storage.saveAll();
@@ -1173,7 +1173,7 @@ const liberator = (function () //{{{
liberator.dump("All liberator modules destroyed\n");
liberator.autocommands.trigger(liberator.config.name + "Leave", "");
liberator.autocommands.trigger(liberator.config.name + "Leave", {});
},
sleep: function (ms)