1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-05 07:05:46 +01:00

Whitespace and semicolon fixes.

This commit is contained in:
Doug Kearns
2009-08-10 02:15:23 +10:00
parent a8001baa03
commit 77458e5b8a
16 changed files with 66 additions and 61 deletions

8
common/content/util.js Normal file → Executable file
View File

@@ -524,7 +524,7 @@ const util = { //{{{
value = template.highlight(value, true, 150);
// FIXME: Inline style.
key = <span style="font-weight: bold;">{i}</span>;
let key = <span style="font-weight: bold;">{i}</span>;
if (!isNaN(i))
i = parseInt(i);
else if (/^[A-Z_]+$/.test(i))
@@ -649,7 +649,7 @@ const util = { //{{{
if (options["urlseparator"])
urls = util.splitLiteral(str, RegExp("\\s*" + options["urlseparator"] + "\\s*"));
else
urls = [str]
urls = [str];
return urls.map(function (url) {
try
@@ -741,8 +741,8 @@ util.Array = function Array_(ary) {
return util.Array(res);
return res;
},
concat: function() [].concat.apply(this.__proto__, arguments),
map: function() this.__noSuchMethod__("map", Array.slice(arguments)),
concat: function () [].concat.apply(this.__proto__, arguments),
map: function () this.__noSuchMethod__("map", Array.slice(arguments)),
};
return obj;
}