update documentation

This commit is contained in:
rolux 2012-06-02 11:25:52 +02:00
parent 2b0b66d06d
commit 2471577cf6
2 changed files with 8 additions and 9 deletions

View file

@ -1260,11 +1260,10 @@ Ox.Calendar = function(options, self) {
}
/*@
that.addEvent <f> addEvent
addEvent <f> addEvent
(event) -> <o> object
@*/
that.addEvent = function(event) {
// Ox.Log('Calendar', 'CALENDAR ADD EVENT', event)
event = getEventData(event);
self.options.events.push(event);
getLines();
@ -1274,7 +1273,7 @@ Ox.Calendar = function(options, self) {
};
/*@
that.editEvent <f> Edit event data
editEvent <f> Edit event data
(id, key, value) -> <o> Calendar object
{id, {key: value, ...}} -> <o> Calendar object
@*/
@ -1311,7 +1310,7 @@ Ox.Calendar = function(options, self) {
};
/*@
that.getBounds <f> get bounds
getBounds <f> get bounds
() -> <o> object
@*/
that.getBounds = function() {
@ -1319,7 +1318,7 @@ Ox.Calendar = function(options, self) {
};
/*@
that.panToEvent <f> pan to event
panToEvent <f> pan to event
() -> <o> object
@*/
that.panToEvent = function() {
@ -1328,7 +1327,7 @@ Ox.Calendar = function(options, self) {
};
/*@
that.removeEvent <f> remvoe Event
removeEvent <f> remvoe Event
() -> <o> object
@*/
that.removeEvent = function() {
@ -1343,7 +1342,7 @@ Ox.Calendar = function(options, self) {
};
/*@
that.resizeCalendar <f> resize
resizeCalendar <f> resize
() -> <o> object
@*/
that.resizeCalendar = function() {
@ -1355,7 +1354,7 @@ Ox.Calendar = function(options, self) {
};
/*@
that.zoomToEvent <f> zoom to event
zoomToEvent <f> zoom to event
() -> <o> object
@*/
that.zoomToEvent = function() {

View file

@ -200,7 +200,7 @@ Ox.SplitPanel = function(options, self) {
/*@
replaceElement <f> Replace panel element
(id, element) -> <f> replace element
id <s|i> The element's id or position
id <s|n> The element's id or position
element <o> new element
@*/
that.replaceElement = function(id, element) {