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';
|
||||
|
||||
/*@
|
||||
|
|
@ -37,6 +35,10 @@ Ox.Layer = function(options, self) {
|
|||
that.stop().animate({opacity: 0}, 250);
|
||||
}
|
||||
|
||||
/*@
|
||||
hide <f> hide
|
||||
() -> <u> hide layer
|
||||
@*/
|
||||
that.hide = function() {
|
||||
if (self.options.type == 'dialog') {
|
||||
Ox.UI.$window.unbind({mouseup: mouseup});
|
||||
|
|
@ -44,6 +46,10 @@ Ox.Layer = function(options, self) {
|
|||
that.remove();
|
||||
};
|
||||
|
||||
/*@
|
||||
show <f> show
|
||||
() -> <o> show layer
|
||||
@*/
|
||||
that.show = function() {
|
||||
if (self.options.type == 'dialog') {
|
||||
Ox.UI.$window.bind({mouseup: mouseup});
|
||||
|
|
@ -54,4 +60,4 @@ Ox.Layer = function(options, self) {
|
|||
|
||||
return that;
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue