Comparing version 0.5.9 to 0.5.10
@@ -214,13 +214,11 @@ | ||
console.error('Host sent command for invalid component: ' + componentName + ' (' + methodName + ')'); | ||
continue; | ||
} | ||
if (!componentInstance.Def.Public[methodName]) { | ||
else if (!componentInstance.Def.Public[methodName]) { | ||
console.error('Host sent invalid command: ' + componentInstance.Def.getFullInstanceMemberName('Public', methodName)); | ||
continue; | ||
} | ||
// call command | ||
return componentInstance[methodName].apply(componentInstance, args); | ||
} | ||
else { | ||
// call command | ||
return componentInstance[methodName].apply(componentInstance, args); | ||
} | ||
}, | ||
@@ -227,0 +225,0 @@ Public: { |
@@ -129,2 +129,3 @@ /** | ||
} | ||
return promise; | ||
}; | ||
@@ -142,2 +143,3 @@ this.notifyReject = function(_err) { | ||
} | ||
return promise; | ||
}; | ||
@@ -144,0 +146,0 @@ }, |
{ | ||
"name": "nogap", | ||
"version": "0.5.9", | ||
"version": "0.5.10", | ||
"author": { | ||
@@ -5,0 +5,0 @@ "name": "Dominik Seifert", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
531164
9486