From f4f3822cb92dbf7e94a6766eea0c094ecda70186 Mon Sep 17 00:00:00 2001 From: anekos Date: Sun, 1 May 2011 02:48:26 +0900 Subject: libly のアレがあれなので治した --- maine_coon.js | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/maine_coon.js b/maine_coon.js index 0d8a6c2..33b112a 100644 --- a/maine_coon.js +++ b/maine_coon.js @@ -141,26 +141,6 @@ let PLUGIN_INFO = ]]> ; -let tagetIDs = (liberator.globalVariables.maine_coon_targets || '').split(/\s+/); -let elemStyle = - ( - liberator.globalVariables.maine_coon_style - || - libly.$U.toStyleText({ - height: '1em', - margin: 0, - padding: '3px', - border: '1px solid #b3b3b3', - borderLeft: 0, - borderBottom: 0, - textAlign: 'left', - color: '#000', - font: '11px/1 sans-serif', - background: '#ebebeb' - }) - ); - - (function () { let U = libly.$U; @@ -169,6 +149,26 @@ let elemStyle = let bottomBar = document.getElementById('liberator-bottombar'); let commandlineBox = document.getElementById('liberator-commandline-command'); + let tagetIDs = (liberator.globalVariables.maine_coon_targets || '').split(/\s+/); + let elemStyle = + ( + liberator.globalVariables.maine_coon_style + || + libly.$U.toStyleText({ + height: '1em', + margin: 0, + padding: '3px', + border: '1px solid #b3b3b3', + borderLeft: 0, + borderBottom: 0, + textAlign: 'left', + color: '#000', + font: '11px/1 sans-serif', + background: '#ebebeb' + }) + ); + + function s2b (s, d) !!((!/^(\d+|false)$/i.test(s)|parseInt(s)|!!d*2)&1<