Skip to content

Commit e48b223

Browse files
author
ansuz
committed
change equality check to strict equality
because OCD.
1 parent ddb2b6d commit e48b223

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

diffDOM.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -448,12 +448,12 @@
448448
},
449449
i;
450450

451-
if (typeof options == "undefined") {
451+
if (typeof options === "undefined") {
452452
options = {};
453453
}
454454

455455
for (i in defaults) {
456-
if (typeof options[i] == "undefined") {
456+
if (typeof options[i] === "undefined") {
457457
this[i] = defaults[i];
458458
} else {
459459
this[i] = options[i];

0 commit comments

Comments
 (0)