mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 23:02:27 +01:00
modules.plugins == liberator.plugins
This commit is contained in:
@@ -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.
|
||||
}}} ***** END LICENSE BLOCK *****/
|
||||
|
||||
const plugins = {};
|
||||
|
||||
const liberator = (function () //{{{
|
||||
{
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
@@ -1055,7 +1057,7 @@ const liberator = (function () //{{{
|
||||
// v.plugins.mode = <str> string to show on v.modes.CUSTOM
|
||||
// v.plugins.stop = <func> hooked on a v.modes.reset()
|
||||
// v.plugins.onEvent = <func> function triggered, on keypresses (unless <esc>) (see events.js)
|
||||
plugins: {},
|
||||
plugins: plugins,
|
||||
|
||||
pluginFiles: {},
|
||||
|
||||
|
||||
@@ -536,7 +536,6 @@ function CommandLine() //{{{
|
||||
HL_WARNINGMSG : "hl-WarningMsg",
|
||||
HL_LINENR : "hl-LineNr",
|
||||
|
||||
// not yet used
|
||||
FORCE_MULTILINE : 1 << 0,
|
||||
FORCE_SINGLELINE : 1 << 1,
|
||||
DISALLOW_MULTILINE : 1 << 2, // if an echo() should try to use the single line
|
||||
@@ -1205,6 +1204,7 @@ function CommandLine() //{{{
|
||||
{
|
||||
if (!open && outputContainer.collapsed)
|
||||
return;
|
||||
|
||||
let doc = multilineOutputWidget.contentDocument;
|
||||
outputContainer.collapsed = true;
|
||||
let availableHeight = 250;
|
||||
|
||||
Reference in New Issue
Block a user