Merge pull request #109 from paviro/v2-beta

Fixed typo in node_helper and added module to README
This commit is contained in:
Michael Teeuw
2016-03-30 15:16:42 +02:00
2 changed files with 6 additions and 1 deletions

View File

@@ -16,6 +16,11 @@ Things that still have to be implemented or changed.
####Loader
- Loading of module uses `eval()`. We might want to look into a better solution. [loader.js#L112](https://github.com/MichMich/MagicMirror/blob/v2-beta/js/loader.js#L112).
##Modules
###[MMM-FRITZ-Box-Callmonitor by PaViRo](https://github.com/paviro/MMM-FRITZ-Box-Callmonitor)
**Features:** FRITZ!Box Callmonitor (displays alert when someone is calling)
####NodeHelper
- The node_helper superclass creates a seperate socket connection for each module. It's preferred to use the overall socket connection of the server.

View File

@@ -24,7 +24,7 @@ NodeHelper = Class.extend({
* argument payload mixed - The payload of the notification.
*/
socketNotificationReceived: function(notification, payload) {
Log.log(this.name + ' received a socket notification: ' + notification + ' - Payload: ' + payload);
console.log(this.name + ' received a socket notification: ' + notification + ' - Payload: ' + payload);
},
/* setName(data)