fixed minor word mistake

This commit is contained in:
Rodrigo Ramírez Norambuena 2017-02-11 19:34:43 -03:00
parent 7045f6571f
commit fb754f9bc7
2 changed files with 5 additions and 5 deletions

View File

@ -262,7 +262,7 @@ Module.register("calendar", {
/* hasCalendarURL(url) /* hasCalendarURL(url)
* Check if this config contains the calendar url. * Check if this config contains the calendar url.
* *
* argument url sting - Url to look for. * argument url string - Url to look for.
* *
* return bool - Has calendar url * return bool - Has calendar url
*/ */
@ -311,7 +311,7 @@ Module.register("calendar", {
/* createEventList(url) /* createEventList(url)
* Requests node helper to add calendar url. * Requests node helper to add calendar url.
* *
* argument url sting - Url to add. * argument url string - Url to add.
*/ */
addCalendar: function (url, user, pass, calendarConfig) { addCalendar: function (url, user, pass, calendarConfig) {
this.sendSocketNotification("ADD_CALENDAR", { this.sendSocketNotification("ADD_CALENDAR", {
@ -378,7 +378,7 @@ Module.register("calendar", {
}, },
/* shorten(string, maxLength) /* shorten(string, maxLength)
* Shortens a sting if it's longer than maxLenthg. * Shortens a string if it's longer than maxLenthg.
* Adds an ellipsis to the end. * Adds an ellipsis to the end.
* *
* argument string string - The string to shorten. * argument string string - The string to shorten.

View File

@ -26,7 +26,7 @@ NodeHelper = 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) {
@ -54,7 +54,7 @@ NodeHelper = 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) {