aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranekos2011-05-01 02:48:26 +0900
committeranekos2011-05-01 02:48:26 +0900
commitf4f3822cb92dbf7e94a6766eea0c094ecda70186 (patch)
treee0de157f718505b3f274c05a8d6b9142f83a2525
parenta866423c3534f8635316e55b88316403a6aef1b1 (diff)
downloadvimperator-plugins-f4f3822cb92dbf7e94a6766eea0c094ecda70186.tar.bz2
libly のアレがあれなので治した
-rw-r--r--maine_coon.js40
1 files 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 =
]]></detail>
</VimperatorPlugin>;
-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<<!s);
function hideTargets (hide) {