aboutsummaryrefslogtreecommitdiffstats
path: root/stella.js
diff options
context:
space:
mode:
authoranekos2009-01-25 14:32:27 +0000
committeranekos2009-01-25 14:32:27 +0000
commit8c3380c5693d1e63055ff082541e3154b4b0d6d5 (patch)
tree249d0299caf02a7b6e0be755af4bf1d35b0f9351 /stella.js
parentd25530958326c8c4aa5455d6d6590380d1c7dd04 (diff)
downloadvimperator-plugins-8c3380c5693d1e63055ff082541e3154b4b0d6d5.tar.bz2
起動時にエラーを吐くバグを修正
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@29019 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'stella.js')
-rw-r--r--stella.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/stella.js b/stella.js
index 08f73cb..e2ab611 100644
--- a/stella.js
+++ b/stella.js
@@ -1,5 +1,5 @@
/* {{{
-Copyright (c) 2008, anekos.
+Copyright (c) 2008-2009, anekos.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
@@ -39,7 +39,7 @@ let PLUGIN_INFO =
<name lang="ja">すてら</name>
<description>Show video informations on the status line.</description>
<description lang="ja">ステータスラインに動画の再生時間などを表示する。</description>
- <version>0.15</version>
+ <version>0.16</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>
@@ -1520,10 +1520,10 @@ Thanks:
*********************************************************************************/
if (InVimperator) {
- let estella = liberator.plugins.stella;
+ let estella = liberator.globalVariables.stella;
let install = function () {
- let stella = liberator.plugins.stella = new Stella();
+ let stella = liberator.globalVariables.stella = new Stella();
stella.addUserCommands();
liberator.log('Stella: installed.');
};
@@ -1531,6 +1531,7 @@ Thanks:
// すでにインストール済みの場合は、一度ファイナライズする
// (デバッグ時に前のパネルが残ってしまうため)
if (estella) {
+ liberator.log(estella)
estella.finalize();
install();
} else {