Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
pathec committed Oct 17, 2016
1 parent 804d407 commit effd255
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function OpenHABConnector (id, controller) {
+ '}'
+ '</script>';

// stores object references of callback funcitons for removing event listener
// stores object references of callback functions for removing event listener
self.callbackFunctions = [];
self.refreshListenerCallbackFunction = {};
}
Expand Down Expand Up @@ -112,7 +112,7 @@ OpenHABConnector.prototype.init = function (config) {
return { 'code': 0, 'message': 'Register:openHAB item allready exist' }
}
} else {
return { 'code': 2, 'message': 'OK - Error - missing parameter' }
return { 'code': 2, 'message': 'Error - missing parameter' }
}
} else if(command === "removeOpenHabItem") {
if(args.openHabAlias && args.openHabItemName) {
Expand All @@ -132,7 +132,7 @@ OpenHABConnector.prototype.init = function (config) {
return { 'code': 0, 'message': 'Remove:openHAB item not found' }
}
} else {
return { 'code': 2, 'message': 'OK - Error - missing parameter' }
return { 'code': 2, 'message': 'Error - missing parameter' }
}
} else if(command === "notifyAll") {
var openHabItemData = self.getAllOpenHabItem();
Expand Down

0 comments on commit effd255

Please sign in to comment.