forked from 0x2620/oxjs
cleanup docs, fix children/find calls
This commit is contained in:
parent
a98902f165
commit
b9e80c9d75
88 changed files with 157 additions and 253 deletions
|
|
@ -2,9 +2,7 @@
|
|||
|
||||
/*@
|
||||
Ox.AnnotationFolder <f:Ox.Element> AnnotationFolder Object
|
||||
() -> <f> AnnotationFolder Object
|
||||
(options) -> <f> AnnotationFolder Object
|
||||
(options, self) -> <f> AnnotationFolder Object
|
||||
([options[, self]]) -> <o> AnnotationFolder Object
|
||||
options <o> Options object
|
||||
editable <b|false> If true, annotations can be added
|
||||
id <s> id
|
||||
|
|
|
|||
|
|
@ -1,10 +1,8 @@
|
|||
'use strict';
|
||||
|
||||
/*@
|
||||
Ox.AnnotationPanel <f> Video Annotation Panel
|
||||
() -> <f> AnnotationPanel Object
|
||||
(options) -> <f> AnnotationPanel Object
|
||||
(options, self) -> <f> AnnotationPanel Object
|
||||
Ox.AnnotationPanel <f:Ox.Element> Video Annotation Panel
|
||||
([options[, self]]) -> <f> AnnotationPanel Object
|
||||
options <o> Options object
|
||||
calendarSize <n|256> calendar size
|
||||
clickLink <f|null> click link callback
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
'use strict';
|
||||
|
||||
/*@
|
||||
Ox.BlockVideoTimeline <function> Block Video Timeline
|
||||
(options[, self]) -> <o> Block Video Timeline
|
||||
Ox.BlockVideoTimeline <f:Ox.Element> Block Video Timeline
|
||||
([options[, self]]) -> <o> Block Video Timeline
|
||||
options <o> Options
|
||||
self <o> Shared private variable
|
||||
@*/
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
/*@
|
||||
Ox.SmallVideoTimeline <f> Small Video Timeline
|
||||
Ox.SmallVideoTimeline <f:Ox.Element> Small Video Timeline
|
||||
@*/
|
||||
Ox.SmallVideoTimeline = function(options, self) {
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
/*@
|
||||
Ox.SmallVideoTimelineImage <function> Small Video Timeline Image
|
||||
Ox.SmallVideoTimelineImage <f:Ox.Element> Small Video Timeline Image
|
||||
(options[, self]) -> <o> Small Video Timeline Image
|
||||
options <o> Options
|
||||
self <o> Shared private variable
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ Ox.VideoEditor <f:Ox.Element> VideoEditor Object
|
|||
(options) -> <o> VideoEditor Object
|
||||
(options, self) -> <o> VideoEditor Object
|
||||
options <o> Options object
|
||||
annotationsCalendarSize <n|256>
|
||||
self <o> shared private variable
|
||||
@*/
|
||||
|
||||
|
|
|
|||
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
/*@
|
||||
Ox.VideoEditorPlayer <f:Ox.Element> VideoEditorPlayer Object
|
||||
() -> <f> VideoEditorPlayer Object
|
||||
(options) -> <f> VideoEditorPlayer Object
|
||||
(options, self) -> <f> VideoEditorPlayer Object
|
||||
() -> <o> VideoEditorPlayer Object
|
||||
(options) -> <o> VideoEditorPlayer Object
|
||||
(options, self) -> <o> VideoEditorPlayer Object
|
||||
options <o> Options object
|
||||
self <o> shared private variable
|
||||
@*/
|
||||
|
|
@ -196,15 +196,14 @@ Ox.VideoEditorPlayer = function(options, self) {
|
|||
$.browser.mozilla && self.$positionInput.css({
|
||||
marginTop: '-19px'
|
||||
});
|
||||
// fixme: children doesnt work w/o $element
|
||||
self.$positionInput.$element.children('.OxLabel').each(function(i, element) {
|
||||
self.$positionInput.children('.OxLabel').each(function(i, element) {
|
||||
$(this).css({
|
||||
width: '22px',
|
||||
marginLeft: (i == 0 ? 8 : 0) + 'px',
|
||||
background: 'rgb(32, 32, 32)'
|
||||
});
|
||||
});
|
||||
self.$positionInput.$element.children('div.OxInput').each(function(i) {
|
||||
self.$positionInput.children('div.OxInput').each(function(i) {
|
||||
var marginLeft = [-82, -58, -34, -10];
|
||||
$(this).css({
|
||||
marginLeft: marginLeft[i] + 'px'
|
||||
|
|
|
|||
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
/*@
|
||||
Ox.VideoElement <f:Ox.Element> VideoElement Object
|
||||
() -> <f> VideoElement Object
|
||||
(options) -> <f> VideoElement Object
|
||||
(options, self) -> <f> VideoElement Object
|
||||
() -> <o> VideoElement Object
|
||||
(options) -> <o> VideoElement Object
|
||||
(options, self) -> <o> VideoElement Object
|
||||
options <o> Options object
|
||||
self <o> shared private variable
|
||||
@*/
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
'use strict';
|
||||
|
||||
/*@
|
||||
Ox.VideoPanelPlayer <f:Ox.Element> VideoPanelPlayer Object
|
||||
() -> <f> VideoPanelPlayer Object
|
||||
(options) -> <f> VideoPanelPlayer Object
|
||||
(options, self) -> <f> VideoPanelPlayer Object
|
||||
Ox.VideoPanel <f:Ox.Element> VideoPanel Object
|
||||
() -> <o> VideoPanel Object
|
||||
(options) -> <o> VideoPanel Object
|
||||
(options, self) -> <o> VideoPanel Object
|
||||
options <o> Options object
|
||||
self <o> shared private variable
|
||||
@*/
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
/*@
|
||||
Ox.VideoPlayer <f> Generic Video Player
|
||||
Ox.VideoPlayer <f:Ox.Element> Generic Video Player
|
||||
(options, self) -> <o> Video Player
|
||||
options <o> Options
|
||||
annotations <[]> Array of annotations
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
/*@
|
||||
Ox.VideoPreview <function> Video Preview
|
||||
Ox.VideoPreview <f:Ox.Element> Video Preview
|
||||
(options[, self]) -> <o> Video Preview
|
||||
options <o> Options
|
||||
self <o> Shared private variable
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
/*@
|
||||
Ox.VideoTimelinePlayer <function> Video Timeline Player
|
||||
Ox.VideoTimelinePlayer <f:Ox.Element> Video Timeline Player
|
||||
(options[, self]) -> <o> Video Timeline Player
|
||||
options <o> Options
|
||||
self <o> Shared private variable
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue