From 8c3380c5693d1e63055ff082541e3154b4b0d6d5 Mon Sep 17 00:00:00 2001 From: anekos Date: Sun, 25 Jan 2009 14:32:27 +0000 Subject: 起動時にエラーを吐くバグを修正 git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@29019 d0d07461-0603-4401-acd4-de1884942a52 --- stella.js | 9 +++++---- 1 file 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 = すてら Show video informations on the status line. ステータスラインに動画の再生時間などを表示する。 - 0.15 + 0.16 anekos new BSD License (Please read the source code comments of this plugin) 修正BSDライセンス (ソースコードのコメントを参照してください) @@ -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 { -- cgit v1.2.3