aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranekos2009-11-02 03:03:59 +0000
committeranekos2009-11-02 03:03:59 +0000
commitb059bd7607fb1c13133b69fd42a9f1f8456ef4c0 (patch)
treecc4fc2ac20c65dd47573f276a9b7b0fb8b27f1dc
parentb819fe6f236968f499ef542ead2bc71bc92aecbd (diff)
downloadvimperator-plugins-b059bd7607fb1c13133b69fd42a9f1f8456ef4c0.tar.bz2
Follow HEAD
thanks: http://rare.to/blog/2009/11/02/33.html git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@35825 d0d07461-0603-4401-acd4-de1884942a52
-rw-r--r--plugin_loader.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugin_loader.js b/plugin_loader.js
index 2a2e1d6..83385a0 100644
--- a/plugin_loader.js
+++ b/plugin_loader.js
@@ -39,12 +39,12 @@ let PLUGIN_INFO =
<name lang="ja">プラグインローダー</name>
<description>to load plugins from specified directory at starting up Vimperator.</description>
<description lang="ja">指定(ディレクトリ|プラグイン)を起動時にロードする</description>
- <version>2.4</version>
+ <version>2.4.1</version>
<author mail="anekos@snca.net" homepage="http://d.hatena.ne.jp/nokturnalmortum/">anekos</author>
<license>new BSD License (Please read the source code comments of this plugin)</license>
<license lang="ja">修正BSDライセンス (ソースコードのコメントを参照してください)</license>
- <minVersion>2.0pre</minVersion>
- <maxVersion>2.0pre</maxVersion>
+ <minVersion>2.3pre</minVersion>
+ <maxVersion>2.3pre</maxVersion>
<updateURL>http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk/plugin_loader.js</updateURL>
<detail><![CDATA[
== Usage ==
@@ -80,9 +80,9 @@ let PLUGIN_INFO =
liberator.log('plugin_loader: loading');
roots.forEach(function (root) {
- let dir = io.getFile(root);
+ let dir = io.File(root);
if (dir.exists() && dir.isDirectory() && dir.isReadable()) {
- let files = io.readDirectory(dir, true);
+ let files = dir.readDirectory(true);
files.forEach(function (file) {
if (filter.test(file.path)) {
liberator.log("Sourcing: " + file.path);