Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TIMOB-18926] iOS: Fix spelling for status_canceled in calendar module #7509

Merged
merged 1 commit into from
Nov 30, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
17 changes: 17 additions & 0 deletions apidoc/Titanium/Calendar/Calendar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,23 @@ properties:
permission: read-only
platforms: [iphone, ipad]

- name: STATUS_CANCELLED
summary: Event canceled status.
description: |
A [event status]<Titanium.Calendar.Event.status> value.

One of the group of event "status" constants,
[STATUS_NONE](Titanium.Calendar.STATUS_NONE),
[STATUS_CANCELED](Titanium.Calendar.STATUS_CANCELED),
[STATUS_CONFIRMED](Titanium.Calendar.STATUS_CONFIRMED),
and [STATUS_TENTATIVE](Titanium.Calendar.STATUS_TENTATIVE).
type: Number
permission: read-only
platforms: [android, iphone, ipad]
deprecated:
since: "5.2.0"
notes: Use [STATUS_CANCELED](Titanium.Calendar.STATUS_CANCELED) instead.

- name: STATUS_CANCELED
summary: Event canceled status.
description: |
Expand Down
3 changes: 2 additions & 1 deletion iphone/Classes/CalendarModule.m
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,8 @@ -(NSNumber*) eventsAuthorization
MAKE_SYSTEM_PROP(STATUS_NONE,EKEventStatusNone);
MAKE_SYSTEM_PROP(STATUS_CONFIRMED,EKEventStatusConfirmed);
MAKE_SYSTEM_PROP(STATUS_TENTATIVE,EKEventStatusTentative);
MAKE_SYSTEM_PROP(STATUS_CANCELLED,EKEventStatusCanceled);
MAKE_SYSTEM_PROP(STATUS_CANCELED,EKEventStatusCanceled);
MAKE_SYSTEM_PROP_DEPRECATED_REPLACED(STATUS_CANCELLED, EKEventStatusCanceled, @"Calendar.STATUS_CANCELLED", @"5.2.0", @"Calendar.STATUS_CANCELED")

MAKE_SYSTEM_PROP(AVAILABILITY_NOTSUPPORTED, EKEventAvailabilityNotSupported);
MAKE_SYSTEM_PROP(AVAILABILITY_BUSY, EKEventAvailabilityBusy);
Expand Down