comments fix for js/module.js

This commit is contained in:
Rodrigo Ramírez Norambuena 2016-11-22 18:53:46 -03:00
parent ace460c69b
commit 677312648b

View File

@ -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) {