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

Add missing semicolons.

This commit is contained in:
Doug Kearns
2009-06-02 16:56:28 +10:00
parent 95dffaf95a
commit 6d7b94daa6
17 changed files with 56 additions and 55 deletions

View File

@@ -334,8 +334,8 @@ const util = { //{{{
{
xmlhttp.onreadystatechange = function () {
if (xmlhttp.readyState == 4)
callback(xmlhttp)
}
callback(xmlhttp);
};
}
xmlhttp.open("GET", url, !!callback);
xmlhttp.send(null);
@@ -442,7 +442,7 @@ const util = { //{{{
const NAMESPACES = util.Array.toObject([
[NS, 'liberator'],
[XHTML, 'html'],
[XUL, 'xul'],
[XUL, 'xul']
]);
if (object instanceof Node && !(object instanceof Document))
{
@@ -735,7 +735,7 @@ util.Array.isinstance = function isinstance(obj) {
util.Array.toObject = function toObject(assoc)
{
let obj = {};
assoc.forEach(function ([k, v]) { obj[k] = v });
assoc.forEach(function ([k, v]) { obj[k] = v; });
return obj;
};
@@ -857,7 +857,7 @@ Struct.prototype = {
let self = this;
return ([v, self[v]] for ([k, v] in Iterator(self.members)))
}
}
};
// Add no-sideeffect array methods. Can't set new Array() as the prototype or
// get length() won't work.