From 77129ef972041a3aaf92b2cb7886cedcb39abf6e Mon Sep 17 00:00:00 2001 From: anekos Date: Sun, 22 Jul 2012 15:12:44 +0900 Subject: にゃんぷろーぶ --- function-template.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'function-template.js') diff --git a/function-template.js b/function-template.js index 3b4a936..f739cae 100644 --- a/function-template.js +++ b/function-template.js @@ -172,7 +172,7 @@ EOM options.add( ['names'], 'description', - 'string', // type: string, stringlist, charlist, boolean + 'string', // type: string, stringlist, charlist, boolean, number 'defaultValue', { scope: Option.SCOPE_GLOBAL, // <- default @@ -186,6 +186,11 @@ EOM return value; }, completer: function () { + return [ + ["value1", "description one"], + ["value2", "description two"], + ["value3", "description three"], + ]; }, validator: function () { }, -- cgit v1.2.3