aboutsummaryrefslogtreecommitdiffstats
path: root/clock.js
diff options
context:
space:
mode:
authoranekos2009-08-27 09:16:14 +0000
committeranekos2009-08-27 09:16:14 +0000
commitb17b6f377d2a877f8fa15bdd561e9d2f251208e6 (patch)
tree6f0ff1c4550cf2a6dac760387c802bb7f5ffa768 /clock.js
parent0a6f34907ef54ecfdb5d105a7c37fce09636406b (diff)
downloadvimperator-plugins-b17b6f377d2a877f8fa15bdd561e9d2f251208e6.tar.bz2
起動時に位置を修正するようにした
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@35095 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'clock.js')
-rw-r--r--clock.js12
1 files changed, 10 insertions, 2 deletions
diff --git a/clock.js b/clock.js
index 7e19497..8ffcba8 100644
--- a/clock.js
+++ b/clock.js
@@ -5,9 +5,9 @@ let PLUGIN_INFO =
<description lang="ja">とけい</description>
<author mail="janus_wel@fb3.so-net.ne.jp" homepage="http://d.hatena.ne.jp/janus_wel">janus_wel</author>
<license document="http://www.opensource.org/licenses/bsd-license.php">New BSD License</license>
-<version>0.15.1</version>
+<version>0.15.2</version>
<minVersion>2.0pre</minVersion>
-<maxVersion>2.0pre</maxVersion>
+<maxVersion>2.2pre</maxVersion>
<updateURL>http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk/clock.js</updateURL>
<detail><![CDATA[
== USAGE ==
@@ -300,6 +300,14 @@ window.addEventListener(
false
);
+autocommands.add(
+ 'VimperatorEnter',
+ /.*/,
+ function () {
+ clock.justify(window.innerWidth);
+ }
+);
+
// stuff functions ---
function time() {
let now = new Date();