aboutsummaryrefslogtreecommitdiffstats
path: root/stylechanger.js
diff options
context:
space:
mode:
authorteramako2008-04-05 02:17:00 +0000
committerteramako2008-04-05 02:17:00 +0000
commit4d07ae198b80ddf667212c763972ee8335e9219e (patch)
treeb34b7798c6c6969ed7f2d360e94bc53ce0aed72d /stylechanger.js
parentda376c713c0b0798bbfc2ee781421715f382a441 (diff)
downloadvimperator-plugins-4d07ae198b80ddf667212c763972ee8335e9219e.tar.bz2
lang/javascript/vimperator-plugins/stylechanger.js : bug fix and comment add
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@8904 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'stylechanger.js')
-rw-r--r--stylechanger.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/stylechanger.js b/stylechanger.js
index 64f033c..71d7b38 100644
--- a/stylechanger.js
+++ b/stylechanger.js
@@ -2,6 +2,7 @@
* stylesheet changer
* @author teramako teramako@gmail.com
* @license MPL 1.1/GPL 2.0/LGPL 2.1
+ * @see http://d.hatena.ne.jp/teramako/20080405/vimperator_plugin_stylechanger_js
*
* Usage:
*
@@ -44,7 +45,7 @@ commands.addUserCommand(['hi[ghlight]'],
['clear','disable stylesheet'],
['off','disable stylesheet']
];
- var styles = list.concat( getStylesheetList().filter(
+ var styles = list.concat( getStylesheetList().map(
function(elm){ return [elm,'alternative style']; }
));
if (!aFilter) return [0,styles];