diff options
author | mattn | 2008-09-02 12:50:52 +0000 |
---|---|---|
committer | mattn | 2008-09-02 12:50:52 +0000 |
commit | ffa59e7bbbcc369c286a33057b1a19aa0b87a707 (patch) | |
tree | 11cafeb6c28f0daccf0be13cb24970652a19ff30 /ubiquity.js | |
parent | 5bb0cda23adb7fccdbc5ec07d0a81c3b728cefa2 (diff) | |
download | vimperator-plugins-ffa59e7bbbcc369c286a33057b1a19aa0b87a707.tar.bz2 |
teramakoさんのをubiquity.jsにする為にリネーム
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@18661 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'ubiquity.js')
-rw-r--r-- | ubiquity.js | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/ubiquity.js b/ubiquity.js deleted file mode 100644 index e24df95..0000000 --- a/ubiquity.js +++ /dev/null @@ -1,26 +0,0 @@ -// Vimperator plugin: ubiquity
-// Maintainer: mattn <mattn.jp@gmail.com> - http://mattn.kaoriya.net
-// Require: Ubiquity - https://wiki.mozilla.org/Labs/Ubiquity
-// Usage:
-// :ubiquity command... - show ubiquity's command dialog.
-// :ubiquity! command... - run ubiquity's command.
-
-(function() {
- if (typeof gUbiquity === 'undefined') return;
- liberator.commands.addUserCommand(["ubiquity"], "Ubiquity",
- function(arg, special){
- var anchor = document.getElementById("content");
- if (window.location == "chrome://browser/content/browser.xul")
- anchor = anchor.selectedBrowser;
- gUbiquity.openWindow(anchor);
- gUbiquity.__textBox.value = arg||'';
- var context = gUbiquity.__makeContext();
- var previewBlock = document.getElementById("cmd-preview").contentDocument.getElementById("preview");
- gUbiquity.__cmdManager.updateInput("map osaka", context, previewBlock);
- if (special) {
- gUbiquity.__cmdManager.execute(context);
- gUbiquity.closeWindow();
- }
- },
- { });
-})();
|