diff options
author | janus_wel | 2008-10-21 10:27:41 +0000 |
---|---|---|
committer | janus_wel | 2008-10-21 10:27:41 +0000 |
commit | 9a8cf4e8a04daad9865d00075c269f04adaefcf8 (patch) | |
tree | 8aac1aac8f9a63e462a40e57d5dbef6103aa026b /migemo_hint.js | |
parent | 4a9c57ab1b5675da743d11d75838fb9089491119 (diff) | |
download | vimperator-plugins-9a8cf4e8a04daad9865d00075c269f04adaefcf8.tar.bz2 |
liberator -> liberator.modules
- buffer
- commandline
- commands
- hints
- ..etc
コマンド追加時に使う addUserCommand の第 3 引数に指定する関数の第 1 引数が String から Object に変更したのに対応
- ldrize_cooperation_fetch_flv.js
- lookupDictionary.js
- matanico.js
- nicontroller.js
- nnp_cooperation.js
- reading.js
- youtubeamp.js
migemo_hint.js で一時的にグローバルオブジェクト plugins を定義
応急処置なのであとで削る必要あり
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@21797 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'migemo_hint.js')
-rw-r--r-- | migemo_hint.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/migemo_hint.js b/migemo_hint.js index 62d7c19..ac3651b 100644 --- a/migemo_hint.js +++ b/migemo_hint.js @@ -1,5 +1,5 @@ // Vimperator plugin: 'Hint Matching with XUL/Migemo'
-// Last Change: 16-Jun-2008. Jan 2008
+// Last Change: 21-Oct-2008. Jan 2008
// License: Creative Commons
// Maintainer: Trapezoid <trapezoid.g@gmail.com> - http://unsigned.g.hatena.ne.jp/Trapezoid
// Require: XUL/Migemo extension - https://addons.mozilla.org/ja/firefox/addon/5239
@@ -19,3 +19,6 @@ liberator.plugins.customHintMatcher = function(inputString){ var r = new RegExp(XMigemoCore.getRegExp(inputString));
return function(hintString) r.test(hintString);
}
+
+plugins = {};
+plugins.customHintMatcher = liberator.plugins.customHintMatcher;
|