diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/content/completion.js | 1 | ||||
-rw-r--r-- | common/content/events.js | 4 | ||||
-rw-r--r-- | common/content/hints.js | 2 | ||||
-rw-r--r-- | common/content/io.js | 2 | ||||
-rw-r--r-- | common/content/modes.js | 3 | ||||
-rw-r--r-- | common/content/ui.js | 5 |
6 files changed, 8 insertions, 9 deletions
diff --git a/common/content/completion.js b/common/content/completion.js index c7a84394..133affe4 100644 --- a/common/content/completion.js +++ b/common/content/completion.js @@ -1388,7 +1388,6 @@ function Completion() //{{{ { process.call(this, item, text) } </>]; - context.completions = util.map(tabs.browsers, function ([i, browser]) { let indicator = " "; if (i == tabs.index()) diff --git a/common/content/events.js b/common/content/events.js index c5869556..8ba9bc1d 100644 --- a/common/content/events.js +++ b/common/content/events.js @@ -630,7 +630,7 @@ function Events() //{{{ // load all macros inside ~/.vimperator/macros/ // setTimeout needed since io. is loaded after events. - setTimeout (function () { + setTimeout(function () { try { let dirs = io.getRuntimeDirectories("macros"); @@ -879,7 +879,7 @@ function Events() //{{{ * Pushes keys into the event queue from liberator it is similar to * Vim's feedkeys() method, but cannot cope with 2 partially-fed * strings, you have to feed one parsable string. - * + * * @param {string} keys A string like "2<C-f>" to pass if you want "<" * to be taken literally, prepend it with a "\\". * @param {boolean} noremap Allow recursive mappings. diff --git a/common/content/hints.js b/common/content/hints.js index 656f49f2..31a30a23 100644 --- a/common/content/hints.js +++ b/common/content/hints.js @@ -88,7 +88,7 @@ function Hints() //{{{ { buffer.followLink(elem, liberator.NEW_BACKGROUND_TAB); - // TODO: Maybe we find a *simple* way to keep the hints displayed rather than + // TODO: Maybe we find a *simple* way to keep the hints displayed rather than // showing them again, or is this short flash actually needed as a "usability // feature"? --mst hints.show("F"); diff --git a/common/content/io.js b/common/content/io.js index e833f66a..3bd59ded 100644 --- a/common/content/io.js +++ b/common/content/io.js @@ -727,7 +727,7 @@ function IO() //{{{ * @param {number} perms The file mode bits of the created file. This * is only used when creating a new file and does not change * permissions if the file exists. - * @default 0644 + * @default 0644 */ writeFile: function (file, buf, mode, perms) { diff --git a/common/content/modes.js b/common/content/modes.js index 32a98a70..0a1ca076 100644 --- a/common/content/modes.js +++ b/common/content/modes.js @@ -247,7 +247,8 @@ const modes = (function () //{{{ set isReplaying(value) { isReplaying = value; this.show(); }, get main() main, - set main(value) { + set main(value) + { if (value != main) handleModeChange(main, value); diff --git a/common/content/ui.js b/common/content/ui.js index f39ff102..870b16e9 100644 --- a/common/content/ui.js +++ b/common/content/ui.js @@ -685,7 +685,6 @@ function CommandLine() //{{{ let output = util.xmlToDom(lastMowOutput, doc); XML.ignoreWhitespace = true; - // FIXME: need to make sure an open MOW is closed when commands // that don't generate output are executed if (outputContainer.collapsed) @@ -988,7 +987,8 @@ function CommandLine() //{{{ get mode() (modes.extended == modes.EX) ? "cmd" : "search", get silent() silent, - set silent(val) { + set silent(val) + { silent = val; if (silent) storage.styles.addSheet(true, "silent-mode", "chrome://*", "#liberator-commandline > * { opacity: 0 }"); @@ -1098,7 +1098,6 @@ function CommandLine() //{{{ keepCommand = false; }, - /** * Hides the command-line, and shows any status messages that * are under it. |