Remove intercom, fix iris

This commit is contained in:
brian committed 2018-03-14 18:01:24 +00:00
1 parent f72218a778
commit 6d202e7e96
2 files changed
+9 -8

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@ function calculateDistance(source, target, properties, normArgs) {
for (var i = 0; i < properties.length; i++) {
property = properties[i];
if (source.hasOwnProperty(property) && target.hasOwnProperty(property)
&& property.toLowerCase() !== "index" ) {
&& property.toLowerCase() !== "index" && property.toLowerCase() !== "type") {
var s = source[property],
t = target[property];