diff options
author | anekos | 2008-12-09 09:00:25 +0000 |
---|---|---|
committer | anekos | 2008-12-09 09:00:25 +0000 |
commit | 65aebeaeb495185cefb32663dd555065fe821423 (patch) | |
tree | fe17728e265404c508f7cd65952ab6651e4af75b /happy_hacking_vimperator.js | |
parent | 0b4c50f69beaeeae831a5364ab07bc76e5539936 (diff) | |
download | vimperator-plugins-65aebeaeb495185cefb32663dd555065fe821423.tar.bz2 |
ランダム表示の修正
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@26210 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'happy_hacking_vimperator.js')
-rw-r--r-- | happy_hacking_vimperator.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/happy_hacking_vimperator.js b/happy_hacking_vimperator.js index 5266c96..9a59da0 100644 --- a/happy_hacking_vimperator.js +++ b/happy_hacking_vimperator.js @@ -2,7 +2,7 @@ var PLUGIN_INFO = <VimperatorPlugin> <name>Happy Happy Vimperator</name> <description>This plugin makes you to True Vimperatorer</description> -<version>2.0</version> +<version>2.1</version> <author mail="anekos@snca.net" homepage="http://d.hatena.ne.jp/nokturnalmortum/">anekos</author> <minVersion>2.0pre</minVersion> <maxVersion>2.0pre</maxVersion> @@ -119,7 +119,7 @@ http://creativecommons.org/licenses/by-sa/3.0/ }; function shit () - meows[Math.round(Math.random() * meows.length + 0.5)]; + meows[Math.floor(Math.random() * meows.length)]; function fuck (msg) { let sz = innerWidth / msg.length / 1.5; |