1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 07:27:58 +01:00

whitespace/formatting fixes

This commit is contained in:
Doug Kearns
2008-11-28 13:01:20 +00:00
parent d25867e7b5
commit 5a3a35ea26
10 changed files with 30 additions and 26 deletions

View File

@@ -33,7 +33,7 @@ default xml namespace = XHTML;
const util = { //{{{
Array: {
// [["a", "b"], ["c", "d"]] -> {a: "b", c: "d"}
// [["a", "b"], ["c", "d"]] -> { a: "b", c: "d" }
// From Common Lisp, more or less
assocToObj: function assocToObj(assoc)
{
@@ -64,7 +64,7 @@ const util = { //{{{
let ret = [];
if (unsorted)
{
for (let [, item] in Iterator(ary))
for (let [,item] in Iterator(ary))
if (ret.indexOf(item) == -1)
ret.push(item);
}
@@ -352,7 +352,7 @@ const util = { //{{{
catch (e) {}
if (!hasValue)
{
if(i instanceof Array && i.length == 2)
if (i instanceof Array && i.length == 2)
[i, value] = i;
else
var noVal = true;