aboutsummaryrefslogtreecommitdiffstats
path: root/maine_coon.js
diff options
context:
space:
mode:
authordrry2009-01-09 19:29:29 +0000
committerdrry2009-01-09 19:29:29 +0000
commit75d1415b8b03dfb50f08d00e53c013f6b390368a (patch)
tree39b43db35c67490fc64a5b66c9b3c5a43bacea8e /maine_coon.js
parente58241048c76a7ab49487662ebc6854e06c481d1 (diff)
downloadvimperator-plugins-75d1415b8b03dfb50f08d00e53c013f6b390368a.tar.bz2
* cosmetic changes.
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@28232 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'maine_coon.js')
-rw-r--r--maine_coon.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/maine_coon.js b/maine_coon.js
index b2e4ec9..31a9f23 100644
--- a/maine_coon.js
+++ b/maine_coon.js
@@ -59,7 +59,7 @@ let PLUGIN_INFO =
Hide caption-bar
If window is maximized, then window maximize after window is hid.
m:
- Display the message to command-line.
+ Displays the message to command-line.
(e.g. "Yanked http://..." "-- CARET --")
>||
:set mainecoon=ac
@@ -240,7 +240,7 @@ let tagetIDs = (liberator.globalVariables.maine_coon_targets || '').split(/\s+/)
doc.body.removeChild(elem);
clearInterval(handle);
remove = null;
- }
+ };
};
})();
@@ -302,10 +302,10 @@ let tagetIDs = (liberator.globalVariables.maine_coon_targets || '').split(/\s+/)
try {
if (autoHideCommandLine
&& useEcho
- && /[^\s]/.test(newValue)
+ && /\S/.test(newValue)
&& messageBox.collapsed
&& last != newValue
- && newValue != "Press ENTER or type command to continue") {
+ && newValue != 'Press ENTER or type command to continue') {
echo(newValue);
}
} catch (e) {
@@ -362,7 +362,7 @@ let tagetIDs = (liberator.globalVariables.maine_coon_targets || '').split(/\s+/)
['f', 'Fullscreen'],
['a', 'Hide automatically command-line'],
['C', 'Hide caption bar (maximize)'],
- ['m', 'Display the message to command-line'],
+ ['m', 'Displays the message to command-line'],
];
},
validater: function (value) /^[cfa]*$/.test(value)