1
0
Fork 0
forked from 0x2620/oxjs

cleanup docs, fix children/find calls

This commit is contained in:
j 2012-05-22 15:14:40 +02:00
commit b9e80c9d75
88 changed files with 157 additions and 253 deletions

View file

@ -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'