From c353ec5170b9bde6ab9f495a684015aa759ad42c Mon Sep 17 00:00:00 2001
From: snaka
Date: Sat, 14 Feb 2009 19:55:37 +0000
Subject: Cosmetics changes.
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@30066 d0d07461-0603-4401-acd4-de1884942a52
---
tada.js | 122 ++++++++++++++++++++++++++++++++--------------------------------
1 file changed, 61 insertions(+), 61 deletions(-)
(limited to 'tada.js')
diff --git a/tada.js b/tada.js
index 74261b9..9f2be5c 100644
--- a/tada.js
+++ b/tada.js
@@ -21,64 +21,64 @@ var PLUGIN_INFO =
MIT style license
0.7
-
+ == Subject ==
+ Show ToDo items in commandline buffer.
+ Also add item to your Ta-da list.
+
+ == Global variables ==
+ Following variable is *requied*.
+ tada_userId:
+ Please specify your user ID.
+
+ Following variable is optional.
+ tada_defaultListName:
+ Default list name.
+ Use this list name if command parameter is not supplied.
+ However this variable not specified, use first one of lists as default.
+
+ == Command ==
+ Usage:
+ tada [list name] [subject]
+ - Show default list if no parameter supplied.
+ - Show specified list if 'list name' is supplied.
+ - Add todo item to default list if 'list name' is not supplied and 'subject' is supplied.
+ - Add todo item to specified list if 'list name' and 'subject' are supplied.
+
+ == ToDo ==
+ - 'Done' functionlity.
+ - Item deletion.
+ - Performance tunning.
+
+ ]]>
+
;
// }}}
@@ -204,7 +204,7 @@ liberator.plugins.tada = (function(){
commands.addUserCommand(
["tada"],
- "Show / Add ToDo items to Ta-Da list.",
+ "Show / Add ToDo items to Ta-Da list. (:tada [LISTNAME] [SUBJECT])",
function(args) {
var listId;
@@ -227,8 +227,8 @@ liberator.plugins.tada = (function(){
}
}, {
completer: function(context) {
- context.title = ["List", "Subject"];
- context.completions = getLists().map(function(item) [item[1], item[0]]);
+ context.title = ["List", "Description"];
+ context.completions = getLists().map(function(item) [item[1], "(not implemented)"]);
},
argCount: "*",
literal: true
--
cgit v1.2.3