diff --git a/common/content/bookmarks.js b/common/content/bookmarks.js
index f076bee8..6b927273 100644
--- a/common/content/bookmarks.js
+++ b/common/content/bookmarks.js
@@ -702,7 +702,6 @@ function Bookmarks() //{{{
// if the search also requires a postData, [url, postData] is returned
getSearchURL: function getSearchURL(text, useDefsearch)
{
- let url = null;
let searchString = (useDefsearch ? options["defsearch"] + " " : "") + text;
// we need to make sure our custom alias have been set, even if the user
diff --git a/common/content/commands.js b/common/content/commands.js
index 3a736060..fdb92c75 100644
--- a/common/content/commands.js
+++ b/common/content/commands.js
@@ -1193,7 +1193,7 @@ function Commands() //{{{
let [, prefix, junk] = context.filter.match(/^(:*\d*)\w*(.?)/) || [];
context.advance(prefix.length);
if (!junk)
- return context.fork("", 0, this, "command");
+ return void context.fork("", 0, this, "command");
// dynamically get completions as specified with the command's completer function
let command = commands.get(cmd);
diff --git a/common/content/completion.js b/common/content/completion.js
index 269d7e75..376838a1 100644
--- a/common/content/completion.js
+++ b/common/content/completion.js
@@ -185,6 +185,7 @@ function CompletionContext(editor, name, offset) //{{{
this.getKey = function (item, key) (typeof self.keys[key] == "function") ? self.keys[key].call(this, item.item) :
key in self.keys ? item.item[self.keys[key]]
: item.item[key];
+ return this;
}
CompletionContext.Sort = {
@@ -453,13 +454,13 @@ CompletionContext.prototype = {
let filter = fixCase(this.filter);
if (this.anchored)
{
- function compare(text, s) text.substr(0, s.length) == s;
+ var compare = function compare(text, s) text.substr(0, s.length) == s;
substrings = util.map(util.range(filter.length, text.length + 1),
function (end) text.substring(0, end));
}
else
{
- function compare(text, s) text.indexOf(s) >= 0;
+ var compare = function compare(text, s) text.indexOf(s) >= 0;
substrings = [];
let start = 0;
let idx;
@@ -1156,12 +1157,12 @@ function Completion() //{{{
// Yes. If the [ starts at the beginning of a logical
// statement, we're in an array literal, and we're done.
if (get(-3, 0, STATEMENTS) == get(-2)[OFFSET])
- return;
+ return null;
// Beginning of the statement upto the opening [
let obj = getObj(-3, get(-2)[OFFSET]);
- return complete.call(this, obj, getKey(), null, string, last);
+ return void complete.call(this, obj, getKey(), null, string, last);
}
// Is this a function call?
@@ -1211,7 +1212,7 @@ function Completion() //{{{
};
obj[0][1] += "." + func + "(... [" + args.length + "]";
- return complete.call(this, obj, key, compl, string, last);
+ return void complete.call(this, obj, key, compl, string, last);
}
// In a string that's not an obj key or a function arg.
@@ -1246,7 +1247,7 @@ function Completion() //{{{
{ // FIXME
var o = top[OFFSET];
top[OFFSET] = offset;
- return complete.call(this, obj, key);
+ return void complete.call(this, obj, key);
}
finally
{
diff --git a/common/content/editor.js b/common/content/editor.js
index 45c8bebf..fe0c26dc 100644
--- a/common/content/editor.js
+++ b/common/content/editor.js
@@ -178,10 +178,7 @@ function Editor() //{{{
{
let matches = args.string.match(RegExp("^\\s*($|" + abbrevmatch + ")(?:\\s*$|\\s+(.*))"));
if (!matches)
- {
- liberator.echoerr("E474: Invalid argument");
- return false;
- }
+ return void liberator.echoerr("E474: Invalid argument");
let [, lhs, rhs] = matches;
if (rhs)
editor.addAbbreviation(mode, lhs, rhs);
diff --git a/common/content/help.xsl b/common/content/help.xsl
index 08ffae61..5763d4e3 100644
--- a/common/content/help.xsl
+++ b/common/content/help.xsl
@@ -31,11 +31,11 @@
- pat is a regular expression, use .* if you want to match all URLs. pat is a regular expression, use .* if you want to match all URLs. Enable passthrough mode on all Google sites:
- Enable passthrough mode on *some* Google sites: Enable passthrough mode on some Google sites:
-
Set the filetype to mail when editing email at Gmail:
+
- Delete a bookmark. Deletes *all* bookmarks which match the
-
-
+
Saving settings
diff --git a/common/locale/en-US/styling.xml b/common/locale/en-US/styling.xml
index 2890a315..ef9db969 100644
--- a/common/locale/en-US/styling.xml
+++ b/common/locale/en-US/styling.xml
@@ -142,9 +142,9 @@
- If name (short option: *-n*) is provided, any existing style with the same + If name (short option: -n) is provided, any existing style with the same name is overridden, and the style may later be deleted using name. If - *-append* (short option: *-a*) is provided along with *-name*, css and + -append (short option: -a) is provided along with -name, css and filter are appended to its current value.
@@ -165,9 +165,9 @@diff --git a/xulmus/locale/en-US/gui.xml b/xulmus/locale/en-US/gui.xml index fb7ab79e..2c36d13e 100644 --- a/xulmus/locale/en-US/gui.xml +++ b/xulmus/locale/en-US/gui.xml @@ -8,7 +8,7 @@ xmlns:html="http://www.w3.org/1999/xhtml">
&liberator.appname; was written by - mailto:prathyushthota@gmail.com[Prathyush Thota]. If you + Prathyush Thota. If you appreciate my work on &liberator.appname; and want to encourage me working on it more, you can either send me greetings, patches or make a donation: @@ -41,11 +42,11 @@ music player and the http://www.vim.org[Vim] text editor.
Of course as a believer in free open source software, only make @@ -73,7 +74,7 @@ music player and the http://www.vim.org[Vim] text editor.