Embarrassing syntax error
This commit is contained in:
parent
b368c5b882
commit
88fff724c2
|
@ -30,8 +30,8 @@ function unify1(a, b) {
|
||||||
require any field mentioned by either side to be present in
|
require any field mentioned by either side to be present in
|
||||||
both. Does that make sense? */
|
both. Does that make sense? */
|
||||||
var result = ({});
|
var result = ({});
|
||||||
for (i in a) { if a.hasOwnProperty(i) result[i] = true; }
|
for (i in a) { if (a.hasOwnProperty(i)) result[i] = true; }
|
||||||
for (i in b) { if b.hasOwnProperty(i) result[i] = true; }
|
for (i in b) { if (b.hasOwnProperty(i)) result[i] = true; }
|
||||||
for (i in result) {
|
for (i in result) {
|
||||||
if (result.hasOwnProperty(i)) {
|
if (result.hasOwnProperty(i)) {
|
||||||
result[i] = unify1(a[i], b[i]);
|
result[i] = unify1(a[i], b[i]);
|
||||||
|
|
Loading…
Reference in New Issue