Commit 16f1a442 authored by Sebastian Pekarek's avatar Sebastian Pekarek
Browse files

README.md update

parent a827f96e
......@@ -281,7 +281,7 @@ Appointment is a "floating" time. From [section 3.3.12 of RFC 554](https://tools
Appointment is a repeating event
```javascript
cal.repeating({
event.repeating({
freq: 'MONTHLY', // required
count: 5,
interval: 2,
......@@ -292,7 +292,7 @@ cal.repeating({
#### summary([_String_ summary])
Appointment summary, default to empty string.
Appointment summary, defaults to empty string.
#### description([_String_ description])
......@@ -396,12 +396,12 @@ Appointment URL
#### method([_String_ method])
Appointment method. May be any of the following: publish, request, reply, add, cancel, refresh, counter, declinecounter.
Appointment method. May be any of the following: `publish`, `request`, `reply`, `add`, `cancel`, `refresh`, `counter`, `declinecounter`.
#### status([_String_ status])
Appointment status. May be any of the following: confirmed, tenative, cancelled.
Appointment status. May be any of the following: `confirmed`, `tenative`, `cancelled`.
......@@ -419,17 +419,17 @@ The attendee's email address. An email address is required for every attendee!
#### role([_String_ role])
Set the attendee's role, defaults to `REQ-PARTICIPANT`. May be one of the following: req-participant, non-participant
Set the attendee's role, defaults to `REQ-PARTICIPANT`. May be one of the following: `req-participant`, `non-participant`
#### status([_String_ status])
Set the attendee's status. May be one of the following: accepted, tentative, declined
Set the attendee's status. May be one of the following: `accepted`, `tentative`, `declined`
#### type([_String_ type])
Set the attendee's type. May be one of the following: `INDIVIDUAL`, `GROUP`, `RESOURCE`, `ROOM`, `UNKNOWN` (See [Section 4.2.3](https://tools.ietf.org/html/rfc2445#section-4.2.3))
Set the attendee's type. May be one of the following: `individual`, `group`, `resource`, `room`, `unknown` (See [Section 4.2.3](https://tools.ietf.org/html/rfc2445#section-4.2.3))
......@@ -467,7 +467,7 @@ attendee.delegatesFrom({email: 'foo@bar.com', name: 'Foo'});
Use this method to set the alarm type. Right now, `audio` and `display` is supported.
#### trigger([_String_|_Date_ trigger]) / triggerBefore([_String_|_Date_ trigger])
#### trigger([_Number_|_Date_ trigger]) / triggerBefore([_Number_|_Date_ trigger])
Use this method to set the alarm time.
......@@ -481,7 +481,7 @@ alarm.trigger(new Date()); // -> now
```
#### triggerAfter([_String_|_Date_ trigger])
#### triggerAfter([_Number_|_Date_ trigger])
Use this method to set the alarm time.
......
......@@ -2,7 +2,7 @@
"name": "ical-generator",
"description": "ical-generator is a small piece of code which generates ical calendar files",
"author": "Sebastian Pekarek <mail@sebbo.net>",
"version": "0.2.3",
"version": "0.2.4-dev",
"bugs": {
"url": "http://github.com/sebbo2002/ical-generator/issues",
"email": "bugs@sebbo.net"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment