diff options
author | anekos | 2008-12-23 22:50:30 +0000 |
---|---|---|
committer | anekos | 2008-12-23 22:50:30 +0000 |
commit | e4c3fe747c187ce1ad262c5b9e8fe7d902829315 (patch) | |
tree | c7ab5b84b8bac1020ec99551ea80701b324a935e /localkeymode.js | |
parent | 7668d142096ae808ac363aee28473e658d7a7c8b (diff) | |
download | vimperator-plugins-e4c3fe747c187ce1ad262c5b9e8fe7d902829315.tar.bz2 |
autocommand で関数を使うように。
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@27327 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'localkeymode.js')
-rw-r--r-- | localkeymode.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/localkeymode.js b/localkeymode.js index 1b664d2..b48bc23 100644 --- a/localkeymode.js +++ b/localkeymode.js @@ -3,7 +3,7 @@ var PLUGIN_INFO = <name>localkeymode</name> <description>assign temporary keymap</description> <description lang="ja">一時的なキーマップの割り当て</description> - <version>0.2.1b</version> + <version>0.2.1c</version> <author homepage="http://d.hatena.ne.jp/pekepekesamurai/">pekepeke</author> <minVersion>2.0pre</minVersion> <maxVersion>2.0pre</maxVersion> @@ -153,7 +153,7 @@ liberator.plugins.LocalKeyMode = (function() { m = (m+'').replace(/[\/\\]+/g, ''); return [m+'', 'maps for [' + m + ']']; } ); - autocommands.add('LocationChange', '.*', 'js liberator.plugins.LocalKeyMode.loadKeyMap();'); + autocommands.add('LocationChange', '.*', function () liberator.plugins.LocalKeyMode.loadKeyMap()); }, // ローカルキーマップの生成 addLocalKeyMap: function( uri, items ) { |