forked from 0x2620/oxjs
add documentation stubs
This commit is contained in:
parent
b3fce3a28a
commit
509745407b
102 changed files with 613 additions and 163 deletions
|
|
@ -1,5 +1,3 @@
|
|||
// vim: et:ts=4:sw=4:sts=4:ft=javascript
|
||||
|
||||
'use strict';
|
||||
|
||||
/*@
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
// vim: et:ts=4:sw=4:sts=4:ft=javascript
|
||||
|
||||
'use strict';
|
||||
|
||||
/*@
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
// vim: et:ts=4:sw=4:sts=4:ft=javascript
|
||||
'use strict';
|
||||
|
||||
/*@
|
||||
Ox.SplitPanel <f:Ox.Element> SpliPanel Object
|
||||
() -> <o> SpliPanel Object
|
||||
|
|
@ -341,4 +341,4 @@ Ox.SplitPanel = function(options, self) {
|
|||
|
||||
return that;
|
||||
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// vim: et:ts=4:sw=4:sts=4:ft=javascript
|
||||
'use strict';
|
||||
|
||||
/*@
|
||||
Ox.TabPanel <f> Tabbed panel
|
||||
|
|
@ -15,8 +15,6 @@ Ox.TabPanel <f> Tabbed panel
|
|||
self <o> Shared private variable
|
||||
@*/
|
||||
|
||||
'use strict';
|
||||
|
||||
Ox.TabPanel = function(options, self) {
|
||||
|
||||
self = self || {};
|
||||
|
|
@ -77,6 +75,10 @@ Ox.TabPanel = function(options, self) {
|
|||
return (selected.length ? selected : self.options.tabs)[0].id;
|
||||
}
|
||||
|
||||
/*@
|
||||
select <f> select
|
||||
(id) -> <o> select panel
|
||||
@*/
|
||||
// fixme: does this collide with a jquery fn?
|
||||
that.select = function(id) {
|
||||
if (Ox.getIndexById(self.options.tabs, id) > -1) {
|
||||
|
|
@ -85,6 +87,10 @@ Ox.TabPanel = function(options, self) {
|
|||
return that;
|
||||
};
|
||||
|
||||
/*@
|
||||
selected <f> selected
|
||||
() -> <b> return selected panel
|
||||
@*/
|
||||
that.selected = function() {
|
||||
return self.selected;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue