Typo fixes for bug 472314 - second batch of documentation

This commit is contained in:
Philipp Kewisch 2009-01-14 16:43:27 +01:00
Родитель 1b261683d0
Коммит 6cf7b402f1
6 изменённых файлов: 8 добавлений и 8 удалений

Просмотреть файл

@ -393,7 +393,7 @@ function addItem(aItem) {
};
/**
* Checks if the given item happens before the comparation item.
* Checks if the given item happens before the comparison item.
*
* @param aItem The item to compare.
* @param aCompItem The item to compare with.

Просмотреть файл

@ -45,7 +45,7 @@
* @param endDate (optional) The event's end date.
* @param summary (optional) The event's title.
* @param event (optional) A template event to show in the dialog
* @param aForceAllDay (optioanl) Make sure the event shown in the dialog is an
* @param aForceAllDay (optional) Make sure the event shown in the dialog is an
* allday event.
*/
function createEventWithDialog(calendar, startDate, endDate, summary, event, aForceAllday) {
@ -195,7 +195,7 @@ function createTodoWithDialog(calendar, dueDate, summary, todo) {
* Modifies the passed event in the event dialog.
*
* @param aItem The item to modify.
* @param job (optional) The job object that controlls this
* @param job (optional) The job object that controls this
* modification.
* @param aPromptOccurrence If the user should be prompted to select if the
* parent item or occurrence should be modified.

Просмотреть файл

@ -554,7 +554,7 @@ function updateAllDay() {
/**
* Changes the global variables to adapt for the change of the allday checkbox.
*
* XXX Function names are all very similar here. This needs some consistancy!
* XXX Function names are all very similar here. This needs some consistency!
*/
function changeAllDay() {
var allDayElement = document.getElementById("all-day");

Просмотреть файл

@ -43,7 +43,7 @@ var gEndTime = null;
/**
* Sets up the recurrence dialog from the window arguments. Takes care of filling
* the dialog controls with the recurrece information for this window.
* the dialog controls with the recurrence information for this window.
*/
function onLoad() {
changeWidgetsOrder();

Просмотреть файл

@ -939,7 +939,7 @@ function updateTitle() {
* Updates the stylesheet to add rules to hide certain aspects (i.e task only
* elements when editing an event).
*
* TODO We can use general rules here, i.e
* TODO We can use general rules here, i.e
* dialog[itemType="task"] .event-only,
* dialog[itemType="event"] .task-only,
* dialog:not([product="lightning"]) .lightning-only {
@ -969,7 +969,7 @@ function updateStyle() {
*
* XXX This function could go away with more general CSS rules?
*
* @param menuPopup The menupopup node targetted by the event.
* @param menuPopup The menupopup node targeted by the event.
*/
function onPopupShowing(menuPopup) {
if (isToDo(window.calendarItem)) {

Просмотреть файл

@ -292,7 +292,7 @@ var TodayPane = {
},
/**
* Hanlder function for the DOMAttrModified event used to observe the
* Handler function for the DOMAttrModified event used to observe the
* todaypane-splitter.
*
* @param aEvent The DOM event occurring on attribute modification.