aboutsummaryrefslogtreecommitdiffstats
path: root/nicovideo_comment.js
diff options
context:
space:
mode:
authordrry2008-05-09 20:34:49 +0000
committerdrry2008-05-09 20:34:49 +0000
commitdb07f1102669d919a017c22c7f031ec46d3033d8 (patch)
treedfe77f30868d8c46c64d170a148d6149ce64bf0a /nicovideo_comment.js
parent5b4bb706b5308edc722fc4198e2cc5e1484bcbb2 (diff)
downloadvimperator-plugins-db07f1102669d919a017c22c7f031ec46d3033d8.tar.bz2
* インデントを修整しました。
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@11318 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'nicovideo_comment.js')
-rw-r--r--nicovideo_comment.js28
1 files changed, 14 insertions, 14 deletions
diff --git a/nicovideo_comment.js b/nicovideo_comment.js
index 29a8f0e..ed35252 100644
--- a/nicovideo_comment.js
+++ b/nicovideo_comment.js
@@ -1,7 +1,7 @@
/**
* ==VimperatorPlugin==
* @name nicovideo_comment.js
- * @description
+ * @description This plugin allows you to fill in the comment form for NICO NICO DOUGA.
* @description-ja ニコニコ動画のコメント欄を入力
* @minVersion 0.6pre
* @author otsune
@@ -10,10 +10,10 @@
*
* Usage:
* :nico {String} -> Fill comment form
- * :nico! {String} -> Fill mail form
+ * :nico! {String} -> Fill mail form
*/
(function(){
-var flvp = window.content.wrappedJSObject.document.getElementById('flvplayer');
+var flvp = window.content.wrappedJSObject.document.getElementById('flvplayer');
liberator.commands.addUserCommand(['nico'],'Fill comment form in nicovideo',
function(arg, special){
@@ -28,18 +28,18 @@ liberator.commands.addUserCommand(['nico'],'Fill comment form in nicovideo',
'big',
'medium',
'small',
- 'white',
- 'red',
- 'pink',
- 'orange',
- 'yellow',
- 'green',
- 'cyan',
+ 'white',
+ 'red',
+ 'pink',
+ 'orange',
+ 'yellow',
+ 'green',
+ 'cyan',
'blue',
'purple',
'184',
'sage'
- ];
+ ];
var premiumcommands = [
'invisible',
'niconicowhite',
@@ -50,21 +50,21 @@ liberator.commands.addUserCommand(['nico'],'Fill comment form in nicovideo',
'marineblue',
'nobleviolet',
'black'
- ];
+ ];
if (special){
commands.forEach(function(command){
if (command[0].toLowerCase().indexOf(filter.toLowerCase()) == 0){
templates.push(command);
}
});
- };
+ }
if (special && !(flvp.GetVariable('premiumNo')) ){
premiumcommands.forEach(function(premiumcommand){
if (premiumcommand[0].toLowerCase().indexOf(filter.toLowerCase()) == 0){
templates.push(premiumcommand);
}
});
- };
+ }
return [0, templates];
}