1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 09:48:00 +01:00

modules.plugins == liberator.plugins

This commit is contained in:
Kris Maglione
2008-11-12 19:22:35 +00:00
parent 84703cbb71
commit fc08b09a6b
2 changed files with 4 additions and 2 deletions

View File

@@ -26,6 +26,8 @@ the provisions above, a recipient may use your version of this file under
the terms of any one of the MPL, the GPL or the LGPL. the terms of any one of the MPL, the GPL or the LGPL.
}}} ***** END LICENSE BLOCK *****/ }}} ***** END LICENSE BLOCK *****/
const plugins = {};
const liberator = (function () //{{{ const liberator = (function () //{{{
{ {
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
@@ -1055,7 +1057,7 @@ const liberator = (function () //{{{
// v.plugins.mode = <str> string to show on v.modes.CUSTOM // v.plugins.mode = <str> string to show on v.modes.CUSTOM
// v.plugins.stop = <func> hooked on a v.modes.reset() // v.plugins.stop = <func> hooked on a v.modes.reset()
// v.plugins.onEvent = <func> function triggered, on keypresses (unless <esc>) (see events.js) // v.plugins.onEvent = <func> function triggered, on keypresses (unless <esc>) (see events.js)
plugins: {}, plugins: plugins,
pluginFiles: {}, pluginFiles: {},

View File

@@ -536,7 +536,6 @@ function CommandLine() //{{{
HL_WARNINGMSG : "hl-WarningMsg", HL_WARNINGMSG : "hl-WarningMsg",
HL_LINENR : "hl-LineNr", HL_LINENR : "hl-LineNr",
// not yet used
FORCE_MULTILINE : 1 << 0, FORCE_MULTILINE : 1 << 0,
FORCE_SINGLELINE : 1 << 1, FORCE_SINGLELINE : 1 << 1,
DISALLOW_MULTILINE : 1 << 2, // if an echo() should try to use the single line DISALLOW_MULTILINE : 1 << 2, // if an echo() should try to use the single line
@@ -1205,6 +1204,7 @@ function CommandLine() //{{{
{ {
if (!open && outputContainer.collapsed) if (!open && outputContainer.collapsed)
return; return;
let doc = multilineOutputWidget.contentDocument; let doc = multilineOutputWidget.contentDocument;
outputContainer.collapsed = true; outputContainer.collapsed = true;
let availableHeight = 250; let availableHeight = 250;