mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 16:57:57 +01:00
Move 'fullscreen' definition to the liberator module.
This commit is contained in:
@@ -147,15 +147,6 @@ function Buffer() //{{{
|
||||
////////////////////// OPTIONS /////////////////////////////////////////////////
|
||||
/////////////////////////////////////////////////////////////////////////////{{{
|
||||
|
||||
// FIXME: Most certainly belongs elsewhere.
|
||||
options.add(["fullscreen", "fs"],
|
||||
"Show the current window fullscreen",
|
||||
"boolean", false,
|
||||
{
|
||||
setter: function (value) window.fullScreen = value,
|
||||
getter: function () window.fullScreen
|
||||
});
|
||||
|
||||
options.add(["nextpattern"], // \u00BB is » (>> in a single char)
|
||||
"Patterns to use when guessing the 'next' page in a document sequence",
|
||||
"stringlist", "\\bnext\\b,^>$,^(>>|\u00BB)$,^(>|\u00BB),(>|\u00BB)$,\\bmore\\b");
|
||||
|
||||
@@ -212,6 +212,14 @@ const liberator = (function () //{{{
|
||||
}
|
||||
};
|
||||
|
||||
options.add(["fullscreen", "fs"],
|
||||
"Show the current window fullscreen",
|
||||
"boolean", false,
|
||||
{
|
||||
setter: function (value) window.fullScreen = value,
|
||||
getter: function () window.fullScreen
|
||||
});
|
||||
|
||||
options.add(["guioptions", "go"],
|
||||
"Show or hide certain GUI elements like the menu or toolbar",
|
||||
"charlist", config.defaults.guioptions || "",
|
||||
|
||||
Reference in New Issue
Block a user