1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-30 12:15:54 +01:00

move reload() and reload_all() global functions to vimperator.tabs

This commit is contained in:
Doug Kearns
2007-07-02 12:40:56 +00:00
parent 5064fc7f44
commit 3ca1ee8651
3 changed files with 39 additions and 40 deletions

View File

@@ -373,14 +373,14 @@ function Mappings() //{{{
}
));
addDefaultMap(new Map(vimperator.modes.NORMAL, ["r"],
function(count) { reload(getBrowser().mCurrentTab, false); },
function(count) { vimperator.tabs.reload(getBrowser().mCurrentTab, false); },
{
short_help: "Reload",
help: "Forces reloading of the current page."
}
));
addDefaultMap(new Map(vimperator.modes.NORMAL, ["R"],
function(count) { reload(getBrowser().mCurrentTab, true); },
function(count) { vimperator.tabs.reload(getBrowser().mCurrentTab, true); },
{
short_help: "Reload while skipping the cache",
help: "Forces reloading of the current page skipping the cache."