From f4d47f6d977d3ab64187a9e7788711cad2971dcf Mon Sep 17 00:00:00 2001 From: drry Date: Fri, 5 Sep 2008 16:31:27 +0000 Subject: * (whitespace changes) git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@18904 d0d07461-0603-4401-acd4-de1884942a52 --- twissr.js | 6 +++--- ubiquityNeta.js | 38 +++++++++++++++++++------------------- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/twissr.js b/twissr.js index a5de1c6..b01c457 100644 --- a/twissr.js +++ b/twissr.js @@ -6,9 +6,9 @@ (function(){ liberator.commands.addUserCommand(["twissr"], "Change Twitter & Wassr status", function(arg, special){ - arg = (special ? '! ' : ' ') + arg; - liberator.execute('twitter' + arg); - liberator.execute('wassr' + arg); + arg = (special ? '! ' : ' ') + arg; + liberator.execute('twitter' + arg); + liberator.execute('wassr' + arg); }, { }); })(); diff --git a/ubiquityNeta.js b/ubiquityNeta.js index 4b95556..5f8f341 100644 --- a/ubiquityNeta.js +++ b/ubiquityNeta.js @@ -1,26 +1,26 @@ -// Vimperator plugin: ubiquity +// Vimperator plugin: Ubiquity // Maintainer: mattn - 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. +// :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(arg||'', context, previewBlock); - if (special) { - gUbiquity.__cmdManager.execute(context); - gUbiquity.closeWindow(); - } - }, - { }); + 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(arg||'', context, previewBlock); + if (special) { + gUbiquity.__cmdManager.execute(context); + gUbiquity.closeWindow(); + } + }, + { }); })(); -- cgit v1.2.3