Remove intercom, fix iris

This commit is contained in:
2018-03-14 18:01:24 +00:00
parent f72218a778
commit 6d202e7e96
2 changed files with 9 additions and 8 deletions

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];