diff options
author | drry | 2009-01-07 19:28:16 +0000 |
---|---|---|
committer | drry | 2009-01-07 19:28:16 +0000 |
commit | ab5c06adb52da536bc2e9d38dddd2e0d5a5b5f0f (patch) | |
tree | a10c4662af2d6401d9b699dc5f83cbd48da04445 | |
parent | 72152a81704c4956fe08fa6707fee04acf5ed498 (diff) | |
download | vimperator-plugins-ab5c06adb52da536bc2e9d38dddd2e0d5a5b5f0f.tar.bz2 |
* fixed typos.
* et cetera.
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@28148 d0d07461-0603-4401-acd4-de1884942a52
-rw-r--r-- | resizeble_textarea.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/resizeble_textarea.js b/resizeble_textarea.js index 7cc360d..398e4bf 100644 --- a/resizeble_textarea.js +++ b/resizeble_textarea.js @@ -8,7 +8,7 @@ var PLUGIN_INFO = <VimperatorPlugin> <name>{NAME}</name> - <description>resizeble textarea</description> + <description>Allows you to resize textareas.</description> <description lang="ja">テキストエリアをリサイズ可能にする。</description> <author mail="suvene@zeromemory.info" homepage="http://zeromemory.sblo.jp/">suVene</author> <version>0.1.0</version> @@ -40,7 +40,7 @@ TextResizer.prototype = { stopResize: this._bind(this, this.stopResize) }; }, - resizeble: function(args) { + resizable: function(args) { this.changeCursor(false); this.doc.addEventListener("mousedown", this.handler.initResize, false); }, @@ -93,15 +93,15 @@ TextResizer.prototype = { for (let i = 0, len = arguments.length; i < len; args.push(arguments[i++])); return function(event) { return func.apply(obj, [ event ].concat(args)); - } + }; } }; commands.addUserCommand( - [ "textareaResize", "tr" ], "resizeble textarea.", + [ "textareaResize", "tr" ], "resizable textarea.", function() { var instance = new TextResizer(window.content.document); - instance.resizeble.apply(instance, arguments); + instance.resizable.apply(instance, arguments); }, null, true |