diff options
author | trapezoid | 2008-03-21 01:40:50 +0000 |
---|---|---|
committer | trapezoid | 2008-03-21 01:40:50 +0000 |
commit | 0463990fe75c4573fc6463fe685d2ea1e400c370 (patch) | |
tree | 9bcca737c142d75f9b48bc5c3719659558628309 /hatenabookmark_show.js | |
parent | aad373b519fdaf2b04004db3e95c1571c5d9ddf8 (diff) | |
download | vimperator-plugins-0463990fe75c4573fc6463fe685d2ea1e400c370.tar.bz2 |
lang/javascript/vimperator-plugins/trunk: 08/03/19のCVS HEADに対応
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@8231 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'hatenabookmark_show.js')
-rw-r--r-- | hatenabookmark_show.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/hatenabookmark_show.js b/hatenabookmark_show.js index 1211bd5..1117369 100644 --- a/hatenabookmark_show.js +++ b/hatenabookmark_show.js @@ -1,5 +1,5 @@ // Vimperator plugin: 'Show Hatena Bookmark Comments'
-// Last Change: 02-Mar-2008. Jan 2008
+// Last Change: 21-Mar-2008. Jan 2008
// License: Creative Commons
// Maintainer: Trapezoid <trapezoid.g@gmail.com> - http://unsigned.g.hatena.ne.jp/Trapezoid
//
@@ -14,7 +14,7 @@ xhr.send(null);
var response;
if(!(response = window.eval(xhr.responseText))){
- vimperator.echoerr("Does not exists!!");return;
+ liberator.echoerr("Does not exists!!");return;
}
var bookmarks = response["bookmarks"];
showString += response["count"] + " users : " + response["title"] + "<dl>";
@@ -26,17 +26,17 @@ showString += tagString + (bookmark.tags.length > 0 && bookmark.comment ? "<br/> ":"") + bookmark.comment + "</dd>";
}
showString += "</dl></div>";
- vimperator.commandline.echo(showString, vimperator.commandline.HL_NORMAL, vimperator.commandline.FORCE_MULTILINE);
+ liberator.commandline.echo(showString, liberator.commandline.HL_NORMAL, liberator.commandline.FORCE_MULTILINE);
}
- vimperator.commands.addUserCommand(["hbinfo"], "show hatena bookmark comments",
+ liberator.commands.addUserCommand(["hbinfo"], "show hatena bookmark comments",
function(arg,special){
var clipboard = readFromClipboard();
if(special)
arg = window.content.document.getSelection() || clipboard;
- showComments(arg?encodeURIComponent(arg):vimperator.buffer.URL);
- },{ completer: vimperator.completion.url }
+ showComments(arg?encodeURIComponent(arg):liberator.buffer.URL);
+ },{ completer: liberator.completion.url }
);
- vimperator.mappings.addUserMap([vimperator.modes.VISUAL], [",h"], "show hatena bookmark comments",
+ liberator.mappings.addUserMap([liberator.modes.VISUAL], [",h"], "show hatena bookmark comments",
function(count){
showComments(window.content.document.getSelection());
},{ noremap: true }
|