diff --git a/modules/default/calendar/calendar.js b/modules/default/calendar/calendar.js index 19440998..644fc1f6 100644 --- a/modules/default/calendar/calendar.js +++ b/modules/default/calendar/calendar.js @@ -262,7 +262,7 @@ Module.register("calendar", { /* hasCalendarURL(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 */ @@ -311,7 +311,7 @@ Module.register("calendar", { /* createEventList(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) { this.sendSocketNotification("ADD_CALENDAR", { @@ -378,7 +378,7 @@ Module.register("calendar", { }, /* 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. * * argument string string - The string to shorten. diff --git a/modules/node_modules/node_helper/index.js b/modules/node_modules/node_helper/index.js index bdeccf8b..8d0372bd 100644 --- a/modules/node_modules/node_helper/index.js +++ b/modules/node_modules/node_helper/index.js @@ -26,7 +26,7 @@ NodeHelper = Class.extend({ /* socketNotificationReceived(notification, payload) * 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. */ socketNotificationReceived: function(notification, payload) { @@ -54,7 +54,7 @@ NodeHelper = Class.extend({ /* sendSocketNotification(notification, payload) * 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. */ sendSocketNotification: function(notification, payload) {