diff options
author | momolab | 2008-10-27 06:58:50 +0000 |
---|---|---|
committer | momolab | 2008-10-27 06:58:50 +0000 |
commit | 3aa686e2cfe5a8505ed3d0a65dd48603e0f7d31b (patch) | |
tree | 222dfa53e24b466a6f57bcf351c394f6391ce3ea | |
parent | e8e8c3772acca20d4c2576ee3b09ad0271d48148 (diff) | |
download | vimperator-plugins-3aa686e2cfe5a8505ed3d0a65dd48603e0f7d31b.tar.bz2 |
follow latest vimperator.
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@22222 d0d07461-0603-4401-acd4-de1884942a52
-rw-r--r-- | direct_hb.js | 4 | ||||
-rw-r--r-- | relative_move.js | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/direct_hb.js b/direct_hb.js index e8313c5..8624d69 100644 --- a/direct_hb.js +++ b/direct_hb.js @@ -180,11 +180,11 @@ xhr.setRequestHeader("Content-Type","application/atom+xml");
xhr.send(request.toString());
}
- liberator.commands.addUserCommand(['hbtags'],"Update HatenaBookmark Tags",
+ commands.addUserCommand(['hbtags'],"Update HatenaBookmark Tags",
getTags,
{}
);
- liberator.commands.addUserCommand(['hb'],"Post to HatenaBookmark",
+ commands.addUserCommand(['hb'],"Post to HatenaBookmark",
function(arg){
try {
var passwordManager = Cc["@mozilla.org/login-manager;1"].getService(Ci.nsILoginManager);
diff --git a/relative_move.js b/relative_move.js index 9bb937c..a75eff3 100644 --- a/relative_move.js +++ b/relative_move.js @@ -81,13 +81,13 @@ liberator.open(url, tab); } - liberator.commands.addUserCommand( + commands.addUserCommand( ["ro[pen]"], "Open relative URL in the current tab", open_path ); - liberator.commands.addUserCommand( + commands.addUserCommand( ["rt[abopen]"], "Open relative URL in a new tab", function(path){ |