Skip to content

Commit a930afc

Browse files
authored
Merge pull request #1 from sboele/master
Removed hasOwnProperty check to include _proto_ properties
2 parents 3f5c510 + 0be3a87 commit a930afc

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

knockout.mapping.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -716,9 +716,7 @@
716716
}
717717
else {
718718
for (var propertyName in rootObject) {
719-
if (rootObject.hasOwnProperty(propertyName)) {
720719
visitorCallback(propertyName);
721-
}
722720
}
723721
}
724722
}

0 commit comments

Comments
 (0)