mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-28 04:02:12 +00:00
comments fix for js/module.js
This commit is contained in:
parent
ace460c69b
commit
677312648b
10
js/module.js
10
js/module.js
@ -23,7 +23,7 @@ var Module = Class.extend({
|
|||||||
// Timer reference used for showHide animation callbacks.
|
// Timer reference used for showHide animation callbacks.
|
||||||
showHideTimer: null,
|
showHideTimer: null,
|
||||||
|
|
||||||
// Array to store lockStrings. These stings are used to lock
|
// Array to store lockStrings. These strings are used to lock
|
||||||
// visibility when hiding and showing module.
|
// visibility when hiding and showing module.
|
||||||
lockStrings: [],
|
lockStrings: [],
|
||||||
|
|
||||||
@ -106,7 +106,7 @@ var Module = Class.extend({
|
|||||||
* This method is called when a notification arrives.
|
* This method is called when a notification arrives.
|
||||||
* This method is called by the Magic Mirror core.
|
* This method is called by the Magic Mirror core.
|
||||||
*
|
*
|
||||||
* argument notification string - The identifier of the noitication.
|
* argument notification string - The identifier of the notification.
|
||||||
* argument payload mixed - The payload of the notification.
|
* argument payload mixed - The payload of the notification.
|
||||||
* argument sender Module - The module that sent the notification.
|
* argument sender Module - The module that sent the notification.
|
||||||
*/
|
*/
|
||||||
@ -121,7 +121,7 @@ var Module = Class.extend({
|
|||||||
/* socketNotificationReceived(notification, payload)
|
/* socketNotificationReceived(notification, payload)
|
||||||
* This method is called when a socket notification arrives.
|
* This method is called when a socket notification arrives.
|
||||||
*
|
*
|
||||||
* argument notification string - The identifier of the noitication.
|
* argument notification string - The identifier of the notification.
|
||||||
* argument payload mixed - The payload of the notification.
|
* argument payload mixed - The payload of the notification.
|
||||||
*/
|
*/
|
||||||
socketNotificationReceived: function (notification, payload) {
|
socketNotificationReceived: function (notification, payload) {
|
||||||
@ -299,7 +299,7 @@ var Module = Class.extend({
|
|||||||
/* sendNotification(notification, payload)
|
/* sendNotification(notification, payload)
|
||||||
* Send a notification to all modules.
|
* Send a notification to all modules.
|
||||||
*
|
*
|
||||||
* argument notification string - The identifier of the noitication.
|
* argument notification string - The identifier of the notification.
|
||||||
* argument payload mixed - The payload of the notification.
|
* argument payload mixed - The payload of the notification.
|
||||||
*/
|
*/
|
||||||
sendNotification: function (notification, payload) {
|
sendNotification: function (notification, payload) {
|
||||||
@ -309,7 +309,7 @@ var Module = Class.extend({
|
|||||||
/* sendSocketNotification(notification, payload)
|
/* sendSocketNotification(notification, payload)
|
||||||
* Send a socket notification to the node helper.
|
* Send a socket notification to the node helper.
|
||||||
*
|
*
|
||||||
* argument notification string - The identifier of the noitication.
|
* argument notification string - The identifier of the notification.
|
||||||
* argument payload mixed - The payload of the notification.
|
* argument payload mixed - The payload of the notification.
|
||||||
*/
|
*/
|
||||||
sendSocketNotification: function (notification, payload) {
|
sendSocketNotification: function (notification, payload) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user