mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 12:55:22 +00:00
Merge pull request #109 from paviro/v2-beta
Fixed typo in node_helper and added module to README
This commit is contained in:
@@ -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.
|
||||
|
||||
|
2
modules/node_modules/node_helper/index.js
generated
vendored
2
modules/node_modules/node_helper/index.js
generated
vendored
@@ -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)
|
||||
|
Reference in New Issue
Block a user