From 770e61fc9e96a455312be8597194804ead5d34cd Mon Sep 17 00:00:00 2001
From: anekos
Date: Sat, 20 Mar 2010 11:06:41 +0000
Subject: アドオン一覧追加
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@37062 d0d07461-0603-4401-acd4-de1884942a52
---
reporter.js | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++----------
1 file changed, 52 insertions(+), 10 deletions(-)
(limited to 'reporter.js')
diff --git a/reporter.js b/reporter.js
index 26cfffc..962bbc1 100755
--- a/reporter.js
+++ b/reporter.js
@@ -43,7 +43,7 @@ let PLUGIN_INFO =
new BSD License (Please read the source code comments of this plugin)
修正BSDライセンス (ソースコードのコメントを参照してください)
http://coderepos.org/share/export/27234/lang/javascript/vimperator-plugins/trunk/mkvimpref.js
- 2.3
+ 2.2
2.3
limit)
+ if (typeof value === 'string' && limit && value.length > limit)
continue;
- file.write("set! " + n + "=" + quote(v) + "\n");
+ file.write("set! " + name + "=" + quote(value));
+ }
+ },
+
+ addons: function (file) {
+ for each (let ext in liberator.extensions) {
+ file.write(
+ ext.name + ' ' +
+ (ext.enabled ? 'enabled' : 'disabled')
+ );
}
}
};
@@ -142,7 +183,8 @@ let PLUGIN_INFO =
}
writeSection('Color Scheme', Writer.colors);
- writeSection(config.hostApplication + ' preferences', Writer.preferences);
+ writeSection(config.hostApplication + ' Preference', Writer.preferences);
+ writeSection(config.hostApplication + ' Addon & Plugin', Writer.addons);
}
});
--
cgit v1.2.3