diff --git a/source/Ox.UI/js/Bar/Ox.Bar.js b/source/Ox.UI/js/Bar/Ox.Bar.js index 3f6edbc1..e388209b 100644 --- a/source/Ox.UI/js/Bar/Ox.Bar.js +++ b/source/Ox.UI/js/Bar/Ox.Bar.js @@ -5,8 +5,8 @@ Ox.Bar Bar (options) -> Bar object (options, self) -> Bar object options Options object - orientation - size can be small, medium, large or number + orientation + size can be small, medium, large or number self Shared private variable @*/ Ox.Bar = function(options, self) { diff --git a/source/Ox.UI/js/Bar/Ox.Progressbar.js b/source/Ox.UI/js/Bar/Ox.Progressbar.js index 6fa3c6d3..8d7bdfa2 100644 --- a/source/Ox.UI/js/Bar/Ox.Progressbar.js +++ b/source/Ox.UI/js/Bar/Ox.Progressbar.js @@ -1,7 +1,7 @@ 'use strict'; /*@ -Ox.Progressbar Progress Bar +Ox.Progressbar Progress Bar () -> Progress Bar (options) -> Progress Bar (options, self) -> Progress Bar @@ -241,4 +241,4 @@ Ox.Progressbar = function(options, self) { return that; -}; \ No newline at end of file +}; diff --git a/source/Ox.UI/js/Bar/Ox.Toolbar.js b/source/Ox.UI/js/Bar/Ox.Toolbar.js deleted file mode 100644 index d3d5fa1a..00000000 --- a/source/Ox.UI/js/Bar/Ox.Toolbar.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; -/** - fixme: no need for this -*/ -Ox.Toolbar = function(options, self) { - self = self || {}; - var that = Ox.Bar({ - size: Ox.UI.getBarSize(options.size) - }, self); - return that; -}; diff --git a/source/Ox.UI/js/Calendar/Ox.Calendar.js b/source/Ox.UI/js/Calendar/Ox.Calendar.js index 4a0149bd..7c767343 100644 --- a/source/Ox.UI/js/Calendar/Ox.Calendar.js +++ b/source/Ox.UI/js/Calendar/Ox.Calendar.js @@ -1041,8 +1041,8 @@ Ox.Calendar = function(options, self) { - self.options.showToolbar * 24 ); self.$content.css({height: self.contentHeight + 'px'}); - that.$element.find('.OxBackground').empty(); - that.$element.find('.OxEvent').remove(); + that.find('.OxBackground').empty(); + that.find('.OxEvent').remove(); renderBackground(); renderTimelines(); renderOverlay(); diff --git a/source/Ox.UI/js/Calendar/Ox.ListCalendar.js b/source/Ox.UI/js/Calendar/Ox.ListCalendar.js index 0383fca0..4d1bcd76 100644 --- a/source/Ox.UI/js/Calendar/Ox.ListCalendar.js +++ b/source/Ox.UI/js/Calendar/Ox.ListCalendar.js @@ -1,7 +1,7 @@ 'use strict'; /*@ -Ox.ListCalendar List Calendar +Ox.ListCalendar List Calendar (options[, self]) -> List Calendar options Options self Shared private variable diff --git a/source/Ox.UI/js/Code/Ox.DocPage.js b/source/Ox.UI/js/Code/Ox.DocPage.js index d3f13582..74f40260 100644 --- a/source/Ox.UI/js/Code/Ox.DocPage.js +++ b/source/Ox.UI/js/Code/Ox.DocPage.js @@ -1,7 +1,7 @@ 'use strict'; /*@ -Ox.DocPage DocPage +Ox.DocPage DocPage () -> DocPage object (options) -> DocPage object (options, self) -> DocPage object diff --git a/source/Ox.UI/js/Code/Ox.DocPanel.js b/source/Ox.UI/js/Code/Ox.DocPanel.js index 4ddb7029..bb0cbf44 100644 --- a/source/Ox.UI/js/Code/Ox.DocPanel.js +++ b/source/Ox.UI/js/Code/Ox.DocPanel.js @@ -1,7 +1,7 @@ 'use strict'; /*@ -Ox.DocPanel Documentation Panel +Ox.DocPanel Documentation Panel () -> Documentation Panel (options) -> Documentation Panel (options, self) -> Documentation Panel diff --git a/source/Ox.UI/js/Code/Ox.ExamplePage.js b/source/Ox.UI/js/Code/Ox.ExamplePage.js index a75b8448..aa8057ba 100644 --- a/source/Ox.UI/js/Code/Ox.ExamplePage.js +++ b/source/Ox.UI/js/Code/Ox.ExamplePage.js @@ -1,7 +1,7 @@ 'use strict' /*@ -Ox.ExamaplePage Example Page +Ox.ExamaplePage Example Page (options[, self]) -> Example Page options Options self Shared private variable diff --git a/source/Ox.UI/js/Code/Ox.ExamplePanel.js b/source/Ox.UI/js/Code/Ox.ExamplePanel.js index a2f03aeb..ad3fe60c 100644 --- a/source/Ox.UI/js/Code/Ox.ExamplePanel.js +++ b/source/Ox.UI/js/Code/Ox.ExamplePanel.js @@ -1,7 +1,7 @@ 'use strict'; /*@ -Ox.ExamaplePanel Example Panel +Ox.ExamaplePanel Example Panel (options[, self]) -> Example Panel options Options self Shared private variable diff --git a/source/Ox.UI/js/Code/Ox.SourceViewer.js b/source/Ox.UI/js/Code/Ox.SourceViewer.js index e9f4106a..0413126d 100644 --- a/source/Ox.UI/js/Code/Ox.SourceViewer.js +++ b/source/Ox.UI/js/Code/Ox.SourceViewer.js @@ -1,7 +1,7 @@ 'use strict'; /*@ -Ox.SourceViewer Source Viewer +Ox.SourceViewer Source Viewer (options[, self]) -> Source Viewer options Options self Shared private variable diff --git a/source/Ox.UI/js/Code/Ox.SyntaxHighlighter.js b/source/Ox.UI/js/Code/Ox.SyntaxHighlighter.js index 216d07d9..005a627b 100644 --- a/source/Ox.UI/js/Code/Ox.SyntaxHighlighter.js +++ b/source/Ox.UI/js/Code/Ox.SyntaxHighlighter.js @@ -1,7 +1,7 @@ 'use strict'; /*@ -Ox.SyntaxHighlighter Syntax Highlighter +Ox.SyntaxHighlighter Syntax Highlighter (options[, self]) -> Syntax Highlighter options Options lineLength If larger than zero, show edge of page diff --git a/source/Ox.UI/js/Core/Ox.API.js b/source/Ox.UI/js/Core/Ox.API.js index 80f3b25d..aae66f50 100644 --- a/source/Ox.UI/js/Core/Ox.API.js +++ b/source/Ox.UI/js/Core/Ox.API.js @@ -1,7 +1,7 @@ 'use strict'; /*@ -Ox.API bind remote api to object +Ox.API bind remote api to object options Options object timeout request timeout url request url diff --git a/source/Ox.UI/js/Core/Ox.App.js b/source/Ox.UI/js/Core/Ox.App.js index ebd36880..c99329c9 100644 --- a/source/Ox.UI/js/Core/Ox.App.js +++ b/source/Ox.UI/js/Core/Ox.App.js @@ -1,7 +1,7 @@ 'use strict'; /*@ -Ox.App Basic application instance that communicates with a JSON API +Ox.App Basic application instance that communicates with a JSON API () -> App object (options) -> App object options Options object diff --git a/source/Ox.UI/js/Core/Ox.Clipboard.js b/source/Ox.UI/js/Core/Ox.Clipboard.js index 93cb0270..124a8c7e 100644 --- a/source/Ox.UI/js/Core/Ox.Clipboard.js +++ b/source/Ox.UI/js/Core/Ox.Clipboard.js @@ -7,7 +7,7 @@ Ox.Clipboard Basic clipboard handler paste Paste data from clipboard () -> <*> Clipboard data @*/ -Ox.Clipboard = function() { +Ox.Clipboard = (function() { var clipboard = {}; return { _print: function() { @@ -24,4 +24,4 @@ Ox.Clipboard = function() { return type in clipboard; } }; -}(); +})(); diff --git a/source/Ox.UI/js/Core/Ox.Container.js b/source/Ox.UI/js/Core/Ox.Container.js index 644bda67..e06cce81 100644 --- a/source/Ox.UI/js/Core/Ox.Container.js +++ b/source/Ox.UI/js/Core/Ox.Container.js @@ -5,7 +5,7 @@ // 0, 1, 2, etc, so that append would append 0, and appendTo // would append (length - 1)? /*@ -Ox.Container Container element +Ox.Container Container element () -> Container object (options) -> Container object (options, self) -> Container object diff --git a/source/Ox.UI/js/Core/Ox.Element.js b/source/Ox.UI/js/Core/Ox.Element.js index 649e96e7..793e6764 100644 --- a/source/Ox.UI/js/Core/Ox.Element.js +++ b/source/Ox.UI/js/Core/Ox.Element.js @@ -1,7 +1,7 @@ 'use strict'; /*@ -Ox.Element Basic UI element object +Ox.Element Basic UI element object # Usage -------------------------------------------------------------------- (element) -> UI element (options) -> UI element @@ -398,7 +398,7 @@ Ox.Element = function(options, self) { () -> This element @*/ that.remove = function(remove) { - remove !== false && that.$element.find('.OxElement').each(function() { + remove !== false && that.find('.OxElement').each(function() { var oxid = $(this).data('oxid'), element = Ox.UI.elements[oxid]; element && element.remove(false); diff --git a/source/Ox.UI/js/Core/Ox.GarbageCollection.js b/source/Ox.UI/js/Core/Ox.GarbageCollection.js index 51e62a9f..5446a0f6 100644 --- a/source/Ox.UI/js/Core/Ox.GarbageCollection.js +++ b/source/Ox.UI/js/Core/Ox.GarbageCollection.js @@ -1,7 +1,7 @@ 'use strict'; /*@ -Ox.GarbageCollection GarbageCollection +Ox.GarbageCollection GarbageCollection () -> run garbage collection debug() -> {} output debug information @*/ diff --git a/source/Ox.UI/js/Core/Ox.History.js b/source/Ox.UI/js/Core/Ox.History.js deleted file mode 100644 index e9bb7482..00000000 --- a/source/Ox.UI/js/Core/Ox.History.js +++ /dev/null @@ -1,5 +0,0 @@ -/*** - Ox.History -***/ -'use strict'; - diff --git a/source/Ox.UI/js/Core/Ox.JQueryElement.js b/source/Ox.UI/js/Core/Ox.JQueryElement.js index 2cf8fa6e..f6fce959 100644 --- a/source/Ox.UI/js/Core/Ox.JQueryElement.js +++ b/source/Ox.UI/js/Core/Ox.JQueryElement.js @@ -1,13 +1,10 @@ 'use strict'; /*@ -Ox.JQueryElement Wrapper for jQuery +Ox.JQueryElement Wrapper for jQuery ($element) -> Wrapped jQuery DOM element $element jQuery DOM Element @*/ - -// fixme: now that children(), find() work, change code to call find directly. - Ox.JQueryElement = function($element) { var that = this; //@ id Unique id @@ -50,4 +47,4 @@ Ox.methods($('
'), true).forEach(function(method) { && Ox.UI.elements[id = ret.data('oxid')] ? Ox.UI.elements[id] : ret; }; -}); \ No newline at end of file +}); diff --git a/source/Ox.UI/js/Form/Ox.ArrayEditable.js b/source/Ox.UI/js/Form/Ox.ArrayEditable.js index 88225802..d2c39904 100644 --- a/source/Ox.UI/js/Form/Ox.ArrayEditable.js +++ b/source/Ox.UI/js/Form/Ox.ArrayEditable.js @@ -1,7 +1,7 @@ 'use strict'; /*@ -Ox.ArrayEditable Array Editable +Ox.ArrayEditable Array Editable (options, self) -> Array Editable options Options object self Shared private variable diff --git a/source/Ox.UI/js/Form/Ox.ArrayInput.js b/source/Ox.UI/js/Form/Ox.ArrayInput.js index 1a9ef0cc..58f1c333 100644 --- a/source/Ox.UI/js/Form/Ox.ArrayInput.js +++ b/source/Ox.UI/js/Form/Ox.ArrayInput.js @@ -1,8 +1,8 @@ 'use strict'; /*@ -Ox.ArrayInput Array input - (options, self) -> Array input +Ox.ArrayInput Array input + (options, self) -> Array input options Options object label string, '' max integer, maximum number of items, 0 for all diff --git a/source/Ox.UI/js/Form/Ox.Button.js b/source/Ox.UI/js/Form/Ox.Button.js index 9a650fbe..c8cad30b 100644 --- a/source/Ox.UI/js/Form/Ox.Button.js +++ b/source/Ox.UI/js/Form/Ox.Button.js @@ -2,9 +2,9 @@ /*@ Ox.Button Button Object - () -> Button Object - (options) -> Button Object - (options, self) -> Button Object + () -> Button Object + (options) -> Button Object + (options, self) -> Button Object options Options object If a button is both selectable and has two values, its value is the selected id, and the second value corresponds to the selected state diff --git a/source/Ox.UI/js/Form/Ox.ButtonGroup.js b/source/Ox.UI/js/Form/Ox.ButtonGroup.js index 78afdc36..44eddc66 100644 --- a/source/Ox.UI/js/Form/Ox.ButtonGroup.js +++ b/source/Ox.UI/js/Form/Ox.ButtonGroup.js @@ -2,9 +2,9 @@ /*@ Ox.ButtonGroup ButtonGroup Object - () -> ButtonGroup Object - (options) -> ButtonGroup Object - (options, self) -> ButtonGroup Object + () -> ButtonGroup Object + (options) -> ButtonGroup Object + (options, self) -> ButtonGroup Object options Options object buttons array of buttons max integer, maximum number of selected buttons, 0 for all diff --git a/source/Ox.UI/js/Form/Ox.Checkbox.js b/source/Ox.UI/js/Form/Ox.Checkbox.js index e5cdff4b..1a854fa1 100644 --- a/source/Ox.UI/js/Form/Ox.Checkbox.js +++ b/source/Ox.UI/js/Form/Ox.Checkbox.js @@ -2,9 +2,9 @@ /*@ Ox.Checkbox Checkbox Element - () -> Checkbox Element - (options) -> Checkbox Element - (options, self) -> Checkbox Element + () -> Checkbox Element + (options) -> Checkbox Element + (options, self) -> Checkbox Element options Options object disabled if true, checkbox is disabled group if true, checkbox is part of a group diff --git a/source/Ox.UI/js/Form/Ox.CheckboxGroup.js b/source/Ox.UI/js/Form/Ox.CheckboxGroup.js index 8ad2f388..564405bc 100644 --- a/source/Ox.UI/js/Form/Ox.CheckboxGroup.js +++ b/source/Ox.UI/js/Form/Ox.CheckboxGroup.js @@ -2,9 +2,9 @@ /*@ Ox.CheckboxGroup CheckboxGroup Object - () -> CheckboxGroup Object - (options) -> CheckboxGroup Object - (options, self) -> CheckboxGroup Object + () -> CheckboxGroup Object + (options) -> CheckboxGroup Object + (options, self) -> CheckboxGroup Object options Options object checkboxes array of checkboxes max max selected diff --git a/source/Ox.UI/js/Form/Ox.ColorInput.js b/source/Ox.UI/js/Form/Ox.ColorInput.js index b01a0851..560427be 100644 --- a/source/Ox.UI/js/Form/Ox.ColorInput.js +++ b/source/Ox.UI/js/Form/Ox.ColorInput.js @@ -2,9 +2,9 @@ /*@ Ox.ColorInput ColorInput Element - () -> ColorInput Element - (options) -> ColorInput Element - (options, self) -> ColorInput Element + () -> ColorInput Element + (options) -> ColorInput Element + (options, self) -> ColorInput Element options Options object id element id value rgb value diff --git a/source/Ox.UI/js/Form/Ox.ColorPicker.js b/source/Ox.UI/js/Form/Ox.ColorPicker.js index 98f22a38..7b96982c 100644 --- a/source/Ox.UI/js/Form/Ox.ColorPicker.js +++ b/source/Ox.UI/js/Form/Ox.ColorPicker.js @@ -2,9 +2,9 @@ /*@ Ox.ColorPicker ColorPicker Element - () -> ColorPicker Element - (options) -> ColorPicker Element - (options, self) -> ColorPicker Element + () -> ColorPicker Element + (options) -> ColorPicker Element + (options, self) -> ColorPicker Element options Options object id element id value rgb value @@ -50,19 +50,18 @@ Ox.ColorPicker = function(options, self) { } }) .appendTo(that); - // fixme: make self.$ranges[i].children() work if (i == 0) { // fixme: this should go into Ox.UI.css - self.$ranges[i].$element.children('input.OxOverlapRight').css({ + self.$ranges[i].children('input.OxOverlapRight').css({ MozBorderRadius: 0, WebkitBorderRadius: 0 }); - self.$ranges[i].$element.children('input.OxOverlapLeft').css({ + self.$ranges[i].children('input.OxOverlapLeft').css({ MozBorderRadius: '0 8px 0 0', WebkitBorderRadius: '0 8px 0 0' }); } else { - self.$ranges[i].$element.children('input').css({ + self.$ranges[i].children('input').css({ MozBorderRadius: 0, WebkitBorderRadius: 0 }); diff --git a/source/Ox.UI/js/Form/Ox.DateInput.js b/source/Ox.UI/js/Form/Ox.DateInput.js index 91550f26..f8d4feb1 100644 --- a/source/Ox.UI/js/Form/Ox.DateInput.js +++ b/source/Ox.UI/js/Form/Ox.DateInput.js @@ -1,10 +1,8 @@ 'use strict'; /*@ -Ox.DateInput DateInput Element - () -> DateInput Element - (options) -> DateInput Element - (options, self) -> DateInput Element +Ox.DateInput DateInput Element + ([options[, self]]) -> DateInput Element options Options object format format can be short, medium, long value date value, defaults to current date diff --git a/source/Ox.UI/js/Form/Ox.DateTimeInput.js b/source/Ox.UI/js/Form/Ox.DateTimeInput.js index 0a112eb5..85c9851f 100644 --- a/source/Ox.UI/js/Form/Ox.DateTimeInput.js +++ b/source/Ox.UI/js/Form/Ox.DateTimeInput.js @@ -1,10 +1,8 @@ 'use strict'; /*@ -Ox.DateTimeInput DateTimeInput Element - () -> DateTimeInput Element - (options) -> DateTimeInput Element - (options, self) -> DateTimeInput Element +Ox.DateTimeInput DateTimeInput Element + ([options[, self]]) -> DateTimeInput Element options Options object ampm false is 24h true is am/pm format options are short, medium, long diff --git a/source/Ox.UI/js/Form/Ox.Editable.js b/source/Ox.UI/js/Form/Ox.Editable.js index a3b5aafc..76c84a37 100644 --- a/source/Ox.UI/js/Form/Ox.Editable.js +++ b/source/Ox.UI/js/Form/Ox.Editable.js @@ -1,10 +1,8 @@ 'use strict'; /*@ -Ox.Editable Editable element - () -> Input Element - (options) -> Input Element - (options, self) -> Input Element +Ox.Editable Editable element + ([options[, self]]) -> Input Element options Options object editing If true, loads in editing state format Format function diff --git a/source/Ox.UI/js/Form/Ox.FileButton.js b/source/Ox.UI/js/Form/Ox.FileButton.js index 6a9f49d4..e9fa80be 100644 --- a/source/Ox.UI/js/Form/Ox.FileButton.js +++ b/source/Ox.UI/js/Form/Ox.FileButton.js @@ -1,8 +1,8 @@ 'use strict'; /*@ -Ox.FileButton File Button - (options[, self]) -> File Button +Ox.FileButton File Button + ([options[, self]]) -> File Button options Options self Shared private variable @*/ diff --git a/source/Ox.UI/js/Form/Ox.FileInput.js b/source/Ox.UI/js/Form/Ox.FileInput.js index 65786f88..ef46e180 100644 --- a/source/Ox.UI/js/Form/Ox.FileInput.js +++ b/source/Ox.UI/js/Form/Ox.FileInput.js @@ -1,8 +1,8 @@ 'use strict'; /*@ -Ox.FileInput File Input - (options[, self]) -> File Input +Ox.FileInput File Input + ([options[, self]]) -> File Input options Options self Shared private variable @*/ diff --git a/source/Ox.UI/js/Form/Ox.Filter.js b/source/Ox.UI/js/Form/Ox.Filter.js index 82881f8b..d35b91f7 100644 --- a/source/Ox.UI/js/Form/Ox.Filter.js +++ b/source/Ox.UI/js/Form/Ox.Filter.js @@ -1,10 +1,8 @@ 'use strict'; /*@ -Ox.Filter Filter Object - () -> Filter Object - (options) -> Filter Object - (options, self) -> Filter Object +Ox.Filter Filter Object + ([options[, self]]) -> Filter Object options Options object findKeys <[]|[]> keys list list object diff --git a/source/Ox.UI/js/Form/Ox.Form.js b/source/Ox.UI/js/Form/Ox.Form.js index 67d469ce..4f10c06e 100644 --- a/source/Ox.UI/js/Form/Ox.Form.js +++ b/source/Ox.UI/js/Form/Ox.Form.js @@ -2,9 +2,7 @@ /*@ Ox.Form Form Object - () -> Form Object - (options) -> Form Object - (options, self) -> Form Object + ([options[, self]]) -> Form Object options Options object error error id id diff --git a/source/Ox.UI/js/Form/Ox.FormElementGroup.js b/source/Ox.UI/js/Form/Ox.FormElementGroup.js index 1e41e61a..bd09f674 100644 --- a/source/Ox.UI/js/Form/Ox.FormElementGroup.js +++ b/source/Ox.UI/js/Form/Ox.FormElementGroup.js @@ -2,9 +2,7 @@ /*@ Ox.FormElementGroup FormElementGroup Element - () -> FormElementGroup Element - (options) -> FormElementGroup Element - (options, self) -> FormElementGroup Element + ([options[, self]]) -> FormElementGroup Element options Options object id element id elements elements in group diff --git a/source/Ox.UI/js/Form/Ox.FormItem.js b/source/Ox.UI/js/Form/Ox.FormItem.js index 9baa6974..3b7d04cb 100644 --- a/source/Ox.UI/js/Form/Ox.FormItem.js +++ b/source/Ox.UI/js/Form/Ox.FormItem.js @@ -2,9 +2,7 @@ /*@ Ox.FormItem FormItem Element, wrap form element with an error message - () -> FormItem Element - (options) -> FormItem Element - (options, self) -> FormItem Element + ([options[, self]]) -> FormItem Element options Options object element element error error message diff --git a/source/Ox.UI/js/Form/Ox.FormPanel.js b/source/Ox.UI/js/Form/Ox.FormPanel.js index d55d4970..5cfd4e0f 100644 --- a/source/Ox.UI/js/Form/Ox.FormPanel.js +++ b/source/Ox.UI/js/Form/Ox.FormPanel.js @@ -1,8 +1,8 @@ 'use strict'; /*@ -Ox.FormPanel Form Panel - (options[, self]) -> Form Panel +Ox.FormPanel Form Panel + ([options[, self]]) -> Form Panel options Options self Shared private variable @*/ diff --git a/source/Ox.UI/js/Form/Ox.Input.js b/source/Ox.UI/js/Form/Ox.Input.js index 7b787f43..17fd6c13 100644 --- a/source/Ox.UI/js/Form/Ox.Input.js +++ b/source/Ox.UI/js/Form/Ox.Input.js @@ -2,9 +2,7 @@ /*@ Ox.Input Input Element - () -> Input Element - (options) -> Input Element - (options, self) -> Input Element + ([options[, self]]) -> Input Element options Options object arrows if true, and type is 'float' or 'int', display arrows arrowStep step when clicking arrows diff --git a/source/Ox.UI/js/Form/Ox.InputGroup.js b/source/Ox.UI/js/Form/Ox.InputGroup.js index 22f55e8c..10b9fefc 100644 --- a/source/Ox.UI/js/Form/Ox.InputGroup.js +++ b/source/Ox.UI/js/Form/Ox.InputGroup.js @@ -2,9 +2,7 @@ /*@ Ox.InputGroup InputGroup Object - () -> InputGroup Object - (options) -> InputGroup Object - (options, self) -> InputGroup Object + ([options[, self]]) -> InputGroup Object options Options object id id inputs inputs diff --git a/source/Ox.UI/js/Form/Ox.InsertHTMLDialog.js b/source/Ox.UI/js/Form/Ox.InsertHTMLDialog.js index d0071517..248258a3 100644 --- a/source/Ox.UI/js/Form/Ox.InsertHTMLDialog.js +++ b/source/Ox.UI/js/Form/Ox.InsertHTMLDialog.js @@ -1,8 +1,8 @@ 'use strict'; /*@ -Ox.InsertHTMLDialog Insert HTML Dialog - (options[, self]) -> Insert HTML Dialog +Ox.InsertHTMLDialog Insert HTML Dialog + ([options[, self]]) -> Insert HTML Dialog options Options self Shared private variable @*/ diff --git a/source/Ox.UI/js/Form/Ox.Label.js b/source/Ox.UI/js/Form/Ox.Label.js index 886858f9..365f5243 100644 --- a/source/Ox.UI/js/Form/Ox.Label.js +++ b/source/Ox.UI/js/Form/Ox.Label.js @@ -2,9 +2,7 @@ /*@ Ox.Label Label Object - () -> Label Object - (options) -> Label Object - (options, self) -> Label Object + ([options[, self]]) -> Label Object options Options object @*/ Ox.Label = function(options, self) { diff --git a/source/Ox.UI/js/Form/Ox.ObjectArrayInput.js b/source/Ox.UI/js/Form/Ox.ObjectArrayInput.js index 5e802e07..cfc15d02 100644 --- a/source/Ox.UI/js/Form/Ox.ObjectArrayInput.js +++ b/source/Ox.UI/js/Form/Ox.ObjectArrayInput.js @@ -1,8 +1,8 @@ 'use strict'; /*@ -Ox.ObjectArrayInput Object Array Input - (options[, self]) -> Object Array Input +Ox.ObjectArrayInput Object Array Input + ([options[, self]]) -> Object Array Input options Options buttonTitles inputs diff --git a/source/Ox.UI/js/Form/Ox.ObjectInput.js b/source/Ox.UI/js/Form/Ox.ObjectInput.js index fbaaf655..bc584a12 100644 --- a/source/Ox.UI/js/Form/Ox.ObjectInput.js +++ b/source/Ox.UI/js/Form/Ox.ObjectInput.js @@ -1,8 +1,8 @@ 'use strict'; /*@ -Ox.ObjectInput Object Input - (options[, self]) -> Object Input +Ox.ObjectInput Object Input + ([options[, self]]) -> Object Input options Options self Shared private variable @*/ diff --git a/source/Ox.UI/js/Form/Ox.Picker.js b/source/Ox.UI/js/Form/Ox.Picker.js index 520fecad..c4b2ecda 100644 --- a/source/Ox.UI/js/Form/Ox.Picker.js +++ b/source/Ox.UI/js/Form/Ox.Picker.js @@ -2,9 +2,7 @@ /*@ Ox.Picker Picker Object - () -> Picker Object - (options) -> Picker Object - (options, self) -> Picker Object + ([options[, self]]) -> Picker Object options Options object element picker element elementHeight height diff --git a/source/Ox.UI/js/Form/Ox.PlaceInput.js b/source/Ox.UI/js/Form/Ox.PlaceInput.js index 58391c11..d2e9ccfd 100644 --- a/source/Ox.UI/js/Form/Ox.PlaceInput.js +++ b/source/Ox.UI/js/Form/Ox.PlaceInput.js @@ -2,9 +2,7 @@ /*@ Ox.PlaceInput PlaceInput Object - () -> PlaceInput Object - (options) -> PlaceInput Object - (options, self) -> PlaceInput Object + ([options[, self]]) -> PlaceInput Object options Options object id element id value default value of place input diff --git a/source/Ox.UI/js/Form/Ox.PlacePicker.js b/source/Ox.UI/js/Form/Ox.PlacePicker.js index 2bf77e6f..f204c2ec 100644 --- a/source/Ox.UI/js/Form/Ox.PlacePicker.js +++ b/source/Ox.UI/js/Form/Ox.PlacePicker.js @@ -1,10 +1,8 @@ 'use strict'; /*@ -Ox.PlacePicker PlacePicker Object - () -> PlacePicker Object - (options) -> PlacePicker Object - (options, self) -> PlacePicker Object +Ox.PlacePicker PlacePicker Object + ([options[, self]]) -> PlacePicker Object options Options object id element id value default value of place input @@ -69,17 +67,17 @@ Ox.PlacePicker = function(options, self) { ) ); - self.$input.$element.children('input[type=text]').css({ + self.$input.children('input[type=text]').css({ width: '230px', paddingLeft: '2px', MozBorderRadius: '0 8px 8px 0', WebkitBorderRadius: '0 8px 8px 0' }); - self.$input.$element.children('input[type=image]').css({ + self.$input.children('input[type=image]').css({ MozBorderRadius: '0 8px 0 0', WebkitBorderRadius: '0 8px 0 0' }); - self.$range.$element.children('input').css({ + self.$range.children('input').css({ MozBorderRadius: 0, WebkitBorderRadius: 0 }); diff --git a/source/Ox.UI/js/Form/Ox.Range.js b/source/Ox.UI/js/Form/Ox.Range.js index 72209a4c..e225d883 100644 --- a/source/Ox.UI/js/Form/Ox.Range.js +++ b/source/Ox.UI/js/Form/Ox.Range.js @@ -2,9 +2,7 @@ /*@ Ox.Range Range Object - () -> Range Object - (options) -> Range Object - (options, self) -> Range Object + ([options[, self]]) -> Range Object options Options object arrows if true, show arrows arrowStep step when clicking arrows diff --git a/source/Ox.UI/js/Form/Ox.Select.js b/source/Ox.UI/js/Form/Ox.Select.js index ed6d61f9..c5232589 100644 --- a/source/Ox.UI/js/Form/Ox.Select.js +++ b/source/Ox.UI/js/Form/Ox.Select.js @@ -2,9 +2,7 @@ /*@ Ox.Select Select Object - () -> Select Object - (options) -> Select Object - (options, self) -> Select Object + ([options[, self]) -> Select Object options Options object disabled If true, select is disabled id Element id diff --git a/source/Ox.UI/js/Form/Ox.SelectInput.js b/source/Ox.UI/js/Form/Ox.SelectInput.js index 4ce59714..83b127c4 100644 --- a/source/Ox.UI/js/Form/Ox.SelectInput.js +++ b/source/Ox.UI/js/Form/Ox.SelectInput.js @@ -1,8 +1,8 @@ 'use strict'; /*@ -Ox.SelectInput Select Input - (options[, self]) -> Select Input +Ox.SelectInput Select Input + ([options[, self]]) -> Select Input options Options self Shared private variable @*/ diff --git a/source/Ox.UI/js/Form/Ox.Spreadsheet.js b/source/Ox.UI/js/Form/Ox.Spreadsheet.js index 7169beb8..6ae5203a 100644 --- a/source/Ox.UI/js/Form/Ox.Spreadsheet.js +++ b/source/Ox.UI/js/Form/Ox.Spreadsheet.js @@ -1,8 +1,8 @@ 'use strict'; /*@ -Ox.Spreadsheet Spreadsheet - (options[, self]) -> Spreadsheet +Ox.Spreadsheet Spreadsheet + ([options[, self]]) -> Spreadsheet options Options self Shared private variable @*/ diff --git a/source/Ox.UI/js/Form/Ox.TimeInput.js b/source/Ox.UI/js/Form/Ox.TimeInput.js index e3e10e7b..cf7b9730 100644 --- a/source/Ox.UI/js/Form/Ox.TimeInput.js +++ b/source/Ox.UI/js/Form/Ox.TimeInput.js @@ -2,9 +2,7 @@ /*@ Ox.TimeInput TimeInput Object - () -> TimeInput Object - (options) -> TimeInput Object - (options, self) -> TimeInput Object + ([options[, self]]) -> TimeInput Object options Options object ampm 24h/ampm seconds show seconds diff --git a/source/Ox.UI/js/List/Ox.Chart.js b/source/Ox.UI/js/List/Ox.Chart.js index 19e60978..627e45b5 100644 --- a/source/Ox.UI/js/List/Ox.Chart.js +++ b/source/Ox.UI/js/List/Ox.Chart.js @@ -1,10 +1,8 @@ 'use strict'; /*@ -Ox.Chart Bar Chart - () -> Chart object - (options) -> Chart object - (options, self) -> Chart object +Ox.Chart Bar Chart + ([options[, self]]) -> Chart object options Options color <[n]|[[n]]|[128, 128, 128]> Bar color data {k: v, ...} or {k: {k: v, ...}, ...} diff --git a/source/Ox.UI/js/List/Ox.IconItem.js b/source/Ox.UI/js/List/Ox.IconItem.js index a52185ca..550a5be6 100644 --- a/source/Ox.UI/js/List/Ox.IconItem.js +++ b/source/Ox.UI/js/List/Ox.IconItem.js @@ -2,9 +2,7 @@ /*@ Ox.IconItem IconItem Object - () -> IconItem Object - (options) -> IconItem Object - (options, self) -> IconItem Object + ([options[, self]]) -> IconItem Object options Options object borderRadius Border radius for icon images find String to be highlighted diff --git a/source/Ox.UI/js/List/Ox.IconList.js b/source/Ox.UI/js/List/Ox.IconList.js index aec37598..de9cf602 100644 --- a/source/Ox.UI/js/List/Ox.IconList.js +++ b/source/Ox.UI/js/List/Ox.IconList.js @@ -1,9 +1,7 @@ 'use strict'; /*@ Ox.IconList IconList Object - () -> IconList Object - (options) -> IconList Object - (options, self) -> IconList Object + ([options[, self]]) -> IconList Object options Options object borderRadius border radius for icon images centerSelection scroll list so selection is always centered diff --git a/source/Ox.UI/js/List/Ox.InfoList.js b/source/Ox.UI/js/List/Ox.InfoList.js index 850b327a..672abeae 100644 --- a/source/Ox.UI/js/List/Ox.InfoList.js +++ b/source/Ox.UI/js/List/Ox.InfoList.js @@ -1,8 +1,8 @@ 'use strict'; /*@ -Ox.InfoList Info List - (options[, self]) -> Info List +Ox.InfoList Info List + ([options[, self]]) -> Info List options Options self Shared private variable @*/ diff --git a/source/Ox.UI/js/List/Ox.List.js b/source/Ox.UI/js/List/Ox.List.js index b4314de8..16a63bd5 100644 --- a/source/Ox.UI/js/List/Ox.List.js +++ b/source/Ox.UI/js/List/Ox.List.js @@ -1,10 +1,8 @@ 'use strict'; /*@ -Ox.List List Element - () -> List Object - (options) -> List Object - (options, self) -> List Object +Ox.List List Element + ([options[, self]]) -> List Object options Options object centered if true, and orientation is 'horizontal', then keep the selected item centered diff --git a/source/Ox.UI/js/List/Ox.ListItem.js b/source/Ox.UI/js/List/Ox.ListItem.js index a73f10ab..b716fbd1 100644 --- a/source/Ox.UI/js/List/Ox.ListItem.js +++ b/source/Ox.UI/js/List/Ox.ListItem.js @@ -2,9 +2,7 @@ /*@ Ox.ListItem ListItem Object - () -> ListItem Object - (options) -> ListItem Object - (options, self) -> ListItem Object + ([options[, self]]) -> ListItem Object options Options object construct construct function data item data diff --git a/source/Ox.UI/js/List/Ox.ListPage.js b/source/Ox.UI/js/List/Ox.ListPage.js index bf9045e1..28c8ef2c 100644 --- a/source/Ox.UI/js/List/Ox.ListPage.js +++ b/source/Ox.UI/js/List/Ox.ListPage.js @@ -2,9 +2,7 @@ /*@ Ox.ListPage ListPage Object - () -> ListPage Object - (options) -> ListPage Object - (options, self) -> ListPage Object + ([options[, self]]) -> ListPage Object options Options object self shared private variable @*/ diff --git a/source/Ox.UI/js/List/Ox.TextList.js b/source/Ox.UI/js/List/Ox.TextList.js index fe258bc2..b361424b 100644 --- a/source/Ox.UI/js/List/Ox.TextList.js +++ b/source/Ox.UI/js/List/Ox.TextList.js @@ -2,9 +2,7 @@ /*@ Ox.TextList TextList Object - () -> TextList Object - (options) -> TextList Object - (options, self) -> TextList Object + ([options[, self]]) -> TextList Object options Options object columns <[o]|[]> Columns # Fixme: There's probably more... @@ -759,7 +757,7 @@ Ox.TextList = function(options, self) { function setWidth() { var width = getItemWidth(); - that.$body.$content.$element.find('.OxItem').css({ // fixme: can we avoid this lookup? + that.$body.find('.OxItem').css({ // fixme: can we avoid this lookup? width: width + 'px' }); that.$body.$content.css({ diff --git a/source/Ox.UI/js/List/Ox.TreeList.js b/source/Ox.UI/js/List/Ox.TreeList.js index a7e05776..ba062394 100644 --- a/source/Ox.UI/js/List/Ox.TreeList.js +++ b/source/Ox.UI/js/List/Ox.TreeList.js @@ -2,9 +2,7 @@ /*@ Ox.TreeList TreeList Object - () -> TreeList Object - (options) -> TreeList Object - (options, self) -> TreeList Object + ([options[, self]]) -> TreeList Object options Options object data data to be parsed to items, needs documentation items array of items diff --git a/source/Ox.UI/js/Map/Ox.ListMap.js b/source/Ox.UI/js/Map/Ox.ListMap.js index a0ba2f08..16c4db22 100644 --- a/source/Ox.UI/js/Map/Ox.ListMap.js +++ b/source/Ox.UI/js/Map/Ox.ListMap.js @@ -2,9 +2,7 @@ /*@ Ox.ListMap ListMap object - () -> ListMap object - (options) -> ListMap object - (options, self) -> ListMap object + ([options[, self]]) -> ListMap object options Options object height Height in px labels If true, show labels diff --git a/source/Ox.UI/js/Map/Ox.Map.js b/source/Ox.UI/js/Map/Ox.Map.js index 24c6dda2..7e850212 100644 --- a/source/Ox.UI/js/Map/Ox.Map.js +++ b/source/Ox.UI/js/Map/Ox.Map.js @@ -1,15 +1,13 @@ 'use strict'; /*@ -Ox.Map Basic map object +Ox.Map Basic map object # DESCRIPTION -------------------------------------------------------------- Ox.Map is a wrapper around the Google Maps API. # USAGE -------------------------------------------------------------------- - () -> Map object - (options) -> Map object - (options, self) -> Map object + ([options[, self]]) -> Map object # ARGUMENTS ---------------------------------------------------------------- options options clickable If true, clicking on the map finds a place @@ -1199,7 +1197,7 @@ Ox.Map = function(options, self) { }; function setPlaceControls(place) { - var $placeControls = that.$element.find('.OxPlaceControl'), + var $placeControls = that.find('.OxPlaceControl'), country, isVisible = self.$placeControls.name.is(':visible'); if (place) { @@ -1299,8 +1297,7 @@ Ox.Map = function(options, self) { } function toggleControls() { - // fixme: that.find() doesn't work here - var $controls = that.$element.find('.OxMapControl'); + var $controls = that.find('.OxMapControl'); self.options.showControls = !self.options.showControls; if (self.options.showControls) { $controls.show().animate({opacity: 1}, 250); diff --git a/source/Ox.UI/js/Map/Ox.MapImage.js b/source/Ox.UI/js/Map/Ox.MapImage.js index c8781a78..45a6e8d2 100644 --- a/source/Ox.UI/js/Map/Ox.MapImage.js +++ b/source/Ox.UI/js/Map/Ox.MapImage.js @@ -2,9 +2,7 @@ /*@ Ox.MapImage MapImage Object - () -> MapImage Object - (options) -> MapImage Object - (options, self) -> MapImage Object + ([options[, self]]) -> MapImage Object options Options object height image height (px) place Object with south, west, north and east properties diff --git a/source/Ox.UI/js/Map/Ox.MapMarkerImage.js b/source/Ox.UI/js/Map/Ox.MapMarkerImage.js index 488c60ec..72dbd4ec 100644 --- a/source/Ox.UI/js/Map/Ox.MapMarkerImage.js +++ b/source/Ox.UI/js/Map/Ox.MapMarkerImage.js @@ -1,8 +1,8 @@ 'use strict'; /*@ -Ox.MapMarkerImage MapMarkerImage Object - (options) -> google.maps.MarkerImage +Ox.MapMarkerImage MapMarkerImage Object + (options) -> google.maps.MarkerImage options Options object color marker color mode can be: normal, selected, editing diff --git a/source/Ox.UI/js/Map/Ox.MapRectangle.js b/source/Ox.UI/js/Map/Ox.MapRectangle.js index 6034c3ba..5abeaa29 100644 --- a/source/Ox.UI/js/Map/Ox.MapRectangle.js +++ b/source/Ox.UI/js/Map/Ox.MapRectangle.js @@ -2,9 +2,7 @@ /*@ Ox.MapRectangle MapRectangle Object - () -> MapRectangle Object - (options) -> MapRectangle Object - (options, self) -> MapRectangle Object + ([options[, self]]) -> MapRectangle Object options Options object map map place place diff --git a/source/Ox.UI/js/Map/Ox.MapRectangleMarker.js b/source/Ox.UI/js/Map/Ox.MapRectangleMarker.js index b4646428..a0d88350 100644 --- a/source/Ox.UI/js/Map/Ox.MapRectangleMarker.js +++ b/source/Ox.UI/js/Map/Ox.MapRectangleMarker.js @@ -2,9 +2,7 @@ /*@ Ox.MapRectangleMarker MapRectangleMarker Object - () -> MapRectangleMarker Object - (options) -> MapRectangleMarker Object - (options, self) -> MapRectangleMarker Object + ([options[, self]]) -> MapRectangleMarker Object options Options object map map place place diff --git a/source/Ox.UI/js/Menu/Ox.MainMenu.js b/source/Ox.UI/js/Menu/Ox.MainMenu.js index d71bc440..db90ff9d 100644 --- a/source/Ox.UI/js/Menu/Ox.MainMenu.js +++ b/source/Ox.UI/js/Menu/Ox.MainMenu.js @@ -2,9 +2,7 @@ /*@ Ox.MainMenu MainMenu Object - () -> MainMenu Object - (options) -> MainMenu Object - (options, self) -> MainMenu Object + ([options[, self]]) -> MainMenu Object options Options object extras extra menus menus submenus diff --git a/source/Ox.UI/js/Menu/Ox.Menu.js b/source/Ox.UI/js/Menu/Ox.Menu.js index c6e4efd1..7348c162 100644 --- a/source/Ox.UI/js/Menu/Ox.Menu.js +++ b/source/Ox.UI/js/Menu/Ox.Menu.js @@ -2,9 +2,7 @@ /*@ Ox.Menu Menu Object - () -> Menu Object - (options) -> Menu Object - (options, self) -> Menu Object + ([options[, self]]) -> Menu Object options Options object element the element the menu is attached to id the menu id diff --git a/source/Ox.UI/js/Menu/Ox.MenuButton.js b/source/Ox.UI/js/Menu/Ox.MenuButton.js index 8eac9a04..73ba5ee3 100644 --- a/source/Ox.UI/js/Menu/Ox.MenuButton.js +++ b/source/Ox.UI/js/Menu/Ox.MenuButton.js @@ -1,10 +1,8 @@ 'use strict'; /*@ -Ox.MenuButton Menu Button - () -> Menu Button - (options) -> Menu Button - (options, self) -> Menu Button +Ox.MenuButton Menu Button + ([options[, self]]) -> Menu Button options Options object disabled If true, button is disabled id Element id @@ -115,36 +113,40 @@ Ox.MenuButton = function(options, self) { /*@ checkItem checkItem - (id) -> check item with id + (id) -> check item with id @*/ that.checkItem = function(id) { self.$menu.checkItem(id); + return that; }; /*@ disableItem disableItem - (id) -> disable item with id + (id) -> disable item with id @*/ that.disableItem = function(id) { self.$menu.getItem(id).options({disabled: true}); + return that; }; /*@ enableItem enableItem - (id) -> enable item + (id) -> enable item @*/ that.enableItem = function(id) { self.$menu.getItem(id).options({disabled: false}); + return that; }; /*@ remove remove - () -> remove item + () -> remove item @*/ self.superRemove = that.remove; that.remove = function() { self.$menu.remove(); self.superRemove(); + return that; }; /*@ @@ -162,6 +164,7 @@ Ox.MenuButton = function(options, self) { @*/ that.uncheckItem = function(id) { self.$menu.uncheckItem(id); + return that; }; return that; diff --git a/source/Ox.UI/js/Menu/Ox.MenuItem.js b/source/Ox.UI/js/Menu/Ox.MenuItem.js index b35894c8..17e307f3 100644 --- a/source/Ox.UI/js/Menu/Ox.MenuItem.js +++ b/source/Ox.UI/js/Menu/Ox.MenuItem.js @@ -2,9 +2,7 @@ /*@ Ox.MenuItem MenuItem Object - () -> MenuItem Object - (options) -> MenuItem Object - (options, self) -> MenuItem Object + ([options[, self]]) -> MenuItem Object options Options object bind fixme: what's this? checked diff --git a/source/Ox.UI/js/Panel/Ox.CollapsePanel.js b/source/Ox.UI/js/Panel/Ox.CollapsePanel.js index 815d0648..35f06e7c 100644 --- a/source/Ox.UI/js/Panel/Ox.CollapsePanel.js +++ b/source/Ox.UI/js/Panel/Ox.CollapsePanel.js @@ -2,9 +2,7 @@ /*@ Ox.CollapsePanel CollapsePanel Object - () -> CollapsePanel Object - (options) -> CollapsePanel Object - (options, self) -> CollapsePanel Object + ([options[, self]]) -> CollapsePanel Object options Options object collapsed collapsed state extras panel extras diff --git a/source/Ox.UI/js/Panel/Ox.Panel.js b/source/Ox.UI/js/Panel/Ox.Panel.js index d580713b..98d83f48 100644 --- a/source/Ox.UI/js/Panel/Ox.Panel.js +++ b/source/Ox.UI/js/Panel/Ox.Panel.js @@ -2,9 +2,7 @@ /*@ Ox.Panel Panel Object - () -> Panel Object - (options) -> Panel Object - (options, self) -> Panel Object + ([options[, self]]) -> Panel Object options Options object self shared private variable @*/ diff --git a/source/Ox.UI/js/Panel/Ox.TabPanel.js b/source/Ox.UI/js/Panel/Ox.TabPanel.js index 6f8d6837..dd9b4751 100644 --- a/source/Ox.UI/js/Panel/Ox.TabPanel.js +++ b/source/Ox.UI/js/Panel/Ox.TabPanel.js @@ -1,7 +1,7 @@ 'use strict'; /*@ -Ox.TabPanel Tabbed panel +Ox.TabPanel Tabbed panel (options) -> Panel (options, self) -> Panel options Options diff --git a/source/Ox.UI/js/Video/Ox.AnnotationFolder.js b/source/Ox.UI/js/Video/Ox.AnnotationFolder.js index f744e279..27c2c8f6 100644 --- a/source/Ox.UI/js/Video/Ox.AnnotationFolder.js +++ b/source/Ox.UI/js/Video/Ox.AnnotationFolder.js @@ -2,9 +2,7 @@ /*@ Ox.AnnotationFolder AnnotationFolder Object - () -> AnnotationFolder Object - (options) -> AnnotationFolder Object - (options, self) -> AnnotationFolder Object + ([options[, self]]) -> AnnotationFolder Object options Options object editable If true, annotations can be added id id diff --git a/source/Ox.UI/js/Video/Ox.AnnotationPanel.js b/source/Ox.UI/js/Video/Ox.AnnotationPanel.js index 81dbc759..1ddeaf79 100644 --- a/source/Ox.UI/js/Video/Ox.AnnotationPanel.js +++ b/source/Ox.UI/js/Video/Ox.AnnotationPanel.js @@ -1,10 +1,8 @@ 'use strict'; /*@ -Ox.AnnotationPanel Video Annotation Panel - () -> AnnotationPanel Object - (options) -> AnnotationPanel Object - (options, self) -> AnnotationPanel Object +Ox.AnnotationPanel Video Annotation Panel + ([options[, self]]) -> AnnotationPanel Object options Options object calendarSize calendar size clickLink click link callback diff --git a/source/Ox.UI/js/Video/Ox.BlockVideoTimeline.js b/source/Ox.UI/js/Video/Ox.BlockVideoTimeline.js index 19780334..a61bd45b 100644 --- a/source/Ox.UI/js/Video/Ox.BlockVideoTimeline.js +++ b/source/Ox.UI/js/Video/Ox.BlockVideoTimeline.js @@ -1,8 +1,8 @@ 'use strict'; /*@ -Ox.BlockVideoTimeline Block Video Timeline - (options[, self]) -> Block Video Timeline +Ox.BlockVideoTimeline Block Video Timeline + ([options[, self]]) -> Block Video Timeline options Options self Shared private variable @*/ diff --git a/source/Ox.UI/js/Video/Ox.SmallVideoTimeline.js b/source/Ox.UI/js/Video/Ox.SmallVideoTimeline.js index fad59f87..0d9af31e 100644 --- a/source/Ox.UI/js/Video/Ox.SmallVideoTimeline.js +++ b/source/Ox.UI/js/Video/Ox.SmallVideoTimeline.js @@ -1,7 +1,7 @@ 'use strict'; /*@ -Ox.SmallVideoTimeline Small Video Timeline +Ox.SmallVideoTimeline Small Video Timeline @*/ Ox.SmallVideoTimeline = function(options, self) { diff --git a/source/Ox.UI/js/Video/Ox.SmallVideoTimelineImage.js b/source/Ox.UI/js/Video/Ox.SmallVideoTimelineImage.js index 78e6922f..e51822ec 100644 --- a/source/Ox.UI/js/Video/Ox.SmallVideoTimelineImage.js +++ b/source/Ox.UI/js/Video/Ox.SmallVideoTimelineImage.js @@ -1,7 +1,7 @@ 'use strict'; /*@ -Ox.SmallVideoTimelineImage Small Video Timeline Image +Ox.SmallVideoTimelineImage Small Video Timeline Image (options[, self]) -> Small Video Timeline Image options Options self Shared private variable diff --git a/source/Ox.UI/js/Video/Ox.VideoEditor.js b/source/Ox.UI/js/Video/Ox.VideoEditor.js index 1525c641..99748379 100644 --- a/source/Ox.UI/js/Video/Ox.VideoEditor.js +++ b/source/Ox.UI/js/Video/Ox.VideoEditor.js @@ -6,6 +6,7 @@ Ox.VideoEditor VideoEditor Object (options) -> VideoEditor Object (options, self) -> VideoEditor Object options Options object + annotationsCalendarSize self shared private variable @*/ diff --git a/source/Ox.UI/js/Video/Ox.VideoEditorPlayer.js b/source/Ox.UI/js/Video/Ox.VideoEditorPlayer.js index b7194b0f..bb5a201d 100644 --- a/source/Ox.UI/js/Video/Ox.VideoEditorPlayer.js +++ b/source/Ox.UI/js/Video/Ox.VideoEditorPlayer.js @@ -2,9 +2,9 @@ /*@ Ox.VideoEditorPlayer VideoEditorPlayer Object - () -> VideoEditorPlayer Object - (options) -> VideoEditorPlayer Object - (options, self) -> VideoEditorPlayer Object + () -> VideoEditorPlayer Object + (options) -> VideoEditorPlayer Object + (options, self) -> VideoEditorPlayer Object options Options object self 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' diff --git a/source/Ox.UI/js/Video/Ox.VideoElement.js b/source/Ox.UI/js/Video/Ox.VideoElement.js index 68634ed3..c84f0484 100644 --- a/source/Ox.UI/js/Video/Ox.VideoElement.js +++ b/source/Ox.UI/js/Video/Ox.VideoElement.js @@ -2,9 +2,9 @@ /*@ Ox.VideoElement VideoElement Object - () -> VideoElement Object - (options) -> VideoElement Object - (options, self) -> VideoElement Object + () -> VideoElement Object + (options) -> VideoElement Object + (options, self) -> VideoElement Object options Options object self shared private variable @*/ diff --git a/source/Ox.UI/js/Video/Ox.VideoPanel.js b/source/Ox.UI/js/Video/Ox.VideoPanel.js index 92ab98e2..35c28868 100644 --- a/source/Ox.UI/js/Video/Ox.VideoPanel.js +++ b/source/Ox.UI/js/Video/Ox.VideoPanel.js @@ -1,10 +1,10 @@ 'use strict'; /*@ -Ox.VideoPanelPlayer VideoPanelPlayer Object - () -> VideoPanelPlayer Object - (options) -> VideoPanelPlayer Object - (options, self) -> VideoPanelPlayer Object +Ox.VideoPanel VideoPanel Object + () -> VideoPanel Object + (options) -> VideoPanel Object + (options, self) -> VideoPanel Object options Options object self shared private variable @*/ diff --git a/source/Ox.UI/js/Video/Ox.VideoPlayer.js b/source/Ox.UI/js/Video/Ox.VideoPlayer.js index 19202392..dafe5927 100644 --- a/source/Ox.UI/js/Video/Ox.VideoPlayer.js +++ b/source/Ox.UI/js/Video/Ox.VideoPlayer.js @@ -1,7 +1,7 @@ 'use strict'; /*@ -Ox.VideoPlayer Generic Video Player +Ox.VideoPlayer Generic Video Player (options, self) -> Video Player options Options annotations <[]> Array of annotations diff --git a/source/Ox.UI/js/Video/Ox.VideoPreview.js b/source/Ox.UI/js/Video/Ox.VideoPreview.js index a404465c..e2dd2f69 100644 --- a/source/Ox.UI/js/Video/Ox.VideoPreview.js +++ b/source/Ox.UI/js/Video/Ox.VideoPreview.js @@ -1,7 +1,7 @@ 'use strict'; /*@ -Ox.VideoPreview Video Preview +Ox.VideoPreview Video Preview (options[, self]) -> Video Preview options Options self Shared private variable diff --git a/source/Ox.UI/js/Video/Ox.VideoTimelinePlayer.js b/source/Ox.UI/js/Video/Ox.VideoTimelinePlayer.js index 516f10e1..6c68f6dd 100644 --- a/source/Ox.UI/js/Video/Ox.VideoTimelinePlayer.js +++ b/source/Ox.UI/js/Video/Ox.VideoTimelinePlayer.js @@ -1,7 +1,7 @@ 'use strict'; /*@ -Ox.VideoTimelinePlayer Video Timeline Player +Ox.VideoTimelinePlayer Video Timeline Player (options[, self]) -> Video Timeline Player options Options self Shared private variable diff --git a/source/Ox.UI/js/Window/Ox.Dialog.js b/source/Ox.UI/js/Window/Ox.Dialog.js index 53cef29a..bc90262d 100644 --- a/source/Ox.UI/js/Window/Ox.Dialog.js +++ b/source/Ox.UI/js/Window/Ox.Dialog.js @@ -2,16 +2,10 @@ /*@ Ox.Dialog Dialog object - () -> Dialog object - (options) -> Dialog object - (options, self) -> Dialog object + () -> Dialog object + (options) -> Dialog object + (options, self) -> Dialog object options Options object - draggable is window draggable - fullscreenable fixme: silly name - height height - resizeable resizeable - scaleable sccaleable - width width self Shared private variable @*/ diff --git a/source/Ox.UI/js/Window/Ox.Layer.js b/source/Ox.UI/js/Window/Ox.Layer.js index 462c4678..1ce50498 100644 --- a/source/Ox.UI/js/Window/Ox.Layer.js +++ b/source/Ox.UI/js/Window/Ox.Layer.js @@ -1,7 +1,7 @@ 'use strict'; /*@ -Ox.Layer Background layer for dialogs and menus +Ox.Layer Background layer for dialogs and menus (options, self) -> Layer options Options type Layer type ('dialog' or 'menu') diff --git a/source/Ox.UI/js/Window/Ox.Tooltip.js b/source/Ox.UI/js/Window/Ox.Tooltip.js index 6eb6dff1..b394b395 100644 --- a/source/Ox.UI/js/Window/Ox.Tooltip.js +++ b/source/Ox.UI/js/Window/Ox.Tooltip.js @@ -2,9 +2,9 @@ /*@ Ox.Tooltip Tooltip Object - () -> Tooltip Object - (options) -> Tooltip Object - (options, self) -> Tooltip Object + () -> Tooltip Object + (options) -> Tooltip Object + (options, self) -> Tooltip Object options Options object self shared private variable @*/