lint
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/6940d954 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/6940d954 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/6940d954 Branch: refs/heads/develop Commit: 6940d9544c3b117d4df36daa048d5d1915bc871e Parents: 116441c Author: Alex Harui <[email protected]> Authored: Fri Mar 27 10:07:41 2015 -0700 Committer: Alex Harui <[email protected]> Committed: Fri Mar 27 10:07:41 2015 -0700 ---------------------------------------------------------------------- .../js/FlexJS/src/org/apache/cordova/Weinre.js | 8 +- .../src/org/apache/flex/binding/BindingBase.js | 2 +- .../src/org/apache/flex/binding/ChainBinding.js | 2 +- .../org/apache/flex/binding/ConstantBinding.js | 2 +- .../org/apache/flex/binding/GenericBinding.js | 4 +- .../org/apache/flex/binding/SimpleBinding.js | 2 +- .../org/apache/flex/charts/core/ChartBase.js | 4 +- .../src/org/apache/flex/core/Application.js | 14 +-- .../src/org/apache/flex/core/BeadViewBase.js | 12 +-- .../src/org/apache/flex/core/CallLaterBead.js | 4 +- .../src/org/apache/flex/core/ContainerBase.js | 20 ++-- .../src/org/apache/flex/core/FilledRectangle.js | 4 +- .../src/org/apache/flex/core/FormatBase.js | 14 +-- .../org/apache/flex/core/HTMLElementWrapper.js | 4 +- .../js/FlexJS/src/org/apache/flex/core/IBead.js | 2 +- .../flex/core/ItemRendererClassFactory.js | 2 +- .../FlexJS/src/org/apache/flex/core/ListBase.js | 18 ++-- .../org/apache/flex/core/SimpleStatesImpl.js | 4 +- .../FlexJS/src/org/apache/flex/core/UIBase.js | 64 ++++++------- .../src/org/apache/flex/core/ValuesManager.js | 4 +- .../FlexJS/src/org/apache/flex/core/ViewBase.js | 16 ++-- .../org/apache/flex/core/ViewBaseDataBinding.js | 4 +- .../src/org/apache/flex/core/graphics/Circle.js | 4 +- .../apache/flex/core/graphics/GradientBase.js | 18 ++-- .../apache/flex/core/graphics/GradientEntry.js | 12 +-- .../apache/flex/core/graphics/GraphicShape.js | 8 +- .../flex/core/graphics/GraphicsContainer.js | 10 +- .../apache/flex/core/graphics/LinearGradient.js | 4 +- .../src/org/apache/flex/core/graphics/Path.js | 4 +- .../org/apache/flex/core/graphics/SolidColor.js | 8 +- .../flex/core/graphics/SolidColorStroke.js | 12 +-- .../src/org/apache/flex/createjs/CheckBox.js | 12 +-- .../src/org/apache/flex/createjs/Label.js | 4 +- .../src/org/apache/flex/createjs/TextButton.js | 6 +- .../src/org/apache/flex/createjs/core/UIBase.js | 16 ++-- .../org/apache/flex/createjs/core/ViewBase.js | 6 +- .../org/apache/flex/effects/PlatformWiper.js | 48 +++++----- .../FlexJS/src/org/apache/flex/events/Event.js | 6 +- .../js/FlexJS/src/org/apache/flex/html/Alert.js | 78 ++++++++-------- .../src/org/apache/flex/html/DropDownList.js | 24 ++--- .../js/FlexJS/src/org/apache/flex/html/Image.js | 14 +-- .../js/FlexJS/src/org/apache/flex/html/List.js | 40 ++++---- .../src/org/apache/flex/html/NumericStepper.js | 54 +++++------ .../src/org/apache/flex/html/SimpleList.js | 38 ++++---- .../FlexJS/src/org/apache/flex/html/Slider.js | 62 ++++++------- .../FlexJS/src/org/apache/flex/html/Spinner.js | 8 +- .../FlexJS/src/org/apache/flex/html/TextArea.js | 4 +- .../src/org/apache/flex/html/TextButton.js | 4 +- .../src/org/apache/flex/html/TextInput.js | 4 +- .../FlexJS/src/org/apache/flex/html/TitleBar.js | 22 ++--- .../org/apache/flex/html/ToggleTextButton.js | 8 +- .../accessories/NumericOnlyTextInputBead.js | 2 +- .../flex/html/accessories/PasswordInputBead.js | 2 +- .../flex/html/accessories/TextPromptBead.js | 18 ++-- .../org/apache/flex/html/beads/ButtonBarView.js | 6 +- .../org/apache/flex/html/beads/ContainerView.js | 8 +- .../apache/flex/html/beads/ImageButtonView.js | 4 +- .../src/org/apache/flex/html/beads/ImageView.js | 4 +- .../src/org/apache/flex/html/beads/ListView.js | 72 +++++++-------- .../src/org/apache/flex/html/beads/PanelView.js | 46 +++++----- .../flex/html/beads/ScrollingContainerView.js | 22 ++--- .../apache/flex/html/beads/SliderThumbView.js | 40 ++++---- .../apache/flex/html/beads/SliderTrackView.js | 34 +++---- .../flex/html/beads/TextInputWithBorderView.js | 4 +- .../controllers/ItemRendererMouseController.js | 2 +- .../ListSingleSelectionMouseController.js | 2 +- .../beads/controllers/SliderMouseController.js | 2 +- .../flex/html/beads/layouts/ButtonBarLayout.js | 38 ++++---- .../beads/layouts/NonVirtualHorizontalLayout.js | 40 ++++---- .../flex/html/beads/layouts/TileLayout.js | 28 +++--- .../html/beads/models/ArraySelectionModel.js | 62 ++++++------- .../flex/html/beads/models/DataGridModel.js | 14 +-- .../apache/flex/html/beads/models/ImageModel.js | 12 +-- .../html/beads/models/ListPresentationModel.js | 12 +-- .../apache/flex/html/beads/models/PanelModel.js | 28 +++--- .../apache/flex/html/beads/models/RangeModel.js | 68 +++++++------- .../apache/flex/html/beads/models/TextModel.js | 14 +-- .../flex/html/beads/models/TitleBarModel.js | 30 +++--- .../flex/html/supportClasses/DataGridColumn.js | 54 +++++------ .../html/supportClasses/DataItemRenderer.js | 12 +-- .../html/supportClasses/NonVirtualDataGroup.js | 4 +- .../html/supportClasses/StringItemRenderer.js | 18 ++-- .../html/supportClasses/UIItemRendererBase.js | 96 ++++++++++---------- .../src/org/apache/flex/html5/CheckBox.js | 8 +- .../src/org/apache/flex/html5/ComboBox.js | 6 +- .../FlexJS/src/org/apache/flex/html5/Label.js | 4 +- .../src/org/apache/flex/html5/RadioButton.js | 36 ++++---- .../src/org/apache/flex/html5/TextArea.js | 4 +- .../src/org/apache/flex/html5/TextButton.js | 4 +- .../src/org/apache/flex/html5/TextInput.js | 4 +- .../src/org/apache/flex/jquery/CheckBox.js | 8 +- .../src/org/apache/flex/jquery/RadioButton.js | 22 ++--- .../src/org/apache/flex/jquery/TextButton.js | 4 +- .../org/apache/flex/jquery/ToggleTextButton.js | 10 +- .../src/org/apache/flex/maps/google/Map.js | 4 +- .../apache/flex/maps/google/beads/MapView.js | 4 +- .../apache/flex/maps/google/models/MapModel.js | 40 ++++---- .../src/org/apache/flex/net/BinaryUploader.js | 40 ++++---- .../src/org/apache/flex/net/HTTPService.js | 44 ++++----- .../flex/net/dataConverters/LazyCollection.js | 36 ++++---- .../src/org/apache/flex/svg/TextButton.js | 8 +- .../src/org/apache/flex/utils/BinaryData.js | 10 +- .../src/org/apache/flex/utils/MixinManager.js | 4 +- .../FlexJS/src/org/apache/flex/utils/Timer.js | 12 +-- .../flex/utils/ViewSourceContextMenuOption.js | 2 +- 105 files changed, 927 insertions(+), 933 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/cordova/Weinre.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/cordova/Weinre.js b/frameworks/js/FlexJS/src/org/apache/cordova/Weinre.js index afaab0a..ccef391 100644 --- a/frameworks/js/FlexJS/src/org/apache/cordova/Weinre.js +++ b/frameworks/js/FlexJS/src/org/apache/cordova/Weinre.js @@ -34,13 +34,13 @@ org_apache_cordova_Weinre = function() { Object.defineProperties(org_apache_cordova_Weinre.prototype, { 'strand': { - /** @this {org_apache_cordova_Weinre} */ + /** @this {org_apache_cordova_Weinre} */ set: function(value) { this.strand_ = value; } }, 'guid': { - /** @this {org_apache_cordova_Weinre} */ + /** @this {org_apache_cordova_Weinre} */ set: function(value) { var scriptNode = document.createElement('SCRIPT'); @@ -50,8 +50,8 @@ Object.defineProperties(org_apache_cordova_Weinre.prototype, { var headNode = document.getElementsByTagName('HEAD'); if (headNode[0] != null) headNode[0].appendChild(scriptNode); - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/binding/BindingBase.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/binding/BindingBase.js b/frameworks/js/FlexJS/src/org/apache/flex/binding/BindingBase.js index ac31bbb..8857bc4 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/binding/BindingBase.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/binding/BindingBase.js @@ -101,7 +101,7 @@ org_apache_flex_binding_BindingBase.prototype.sourceChangeHandler = function(eve Object.defineProperties(org_apache_flex_binding_BindingBase.prototype, { 'strand': { - /** @this {org_apache_flex_binding_BindingBase} */ + /** @this {org_apache_flex_binding_BindingBase} */ set: function(value) { if (this.destination == null) this.destination = value; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/binding/ChainBinding.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/binding/ChainBinding.js b/frameworks/js/FlexJS/src/org/apache/flex/binding/ChainBinding.js index a9b5618..2dde849 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/binding/ChainBinding.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/binding/ChainBinding.js @@ -198,7 +198,7 @@ org_apache_flex_binding_ChainWatcher.prototype.handler = function(event) { Object.defineProperties(org_apache_flex_binding_ChainBinding.prototype, { 'strand': { - /** @this {org_apache_flex_binding_ChainBinding} */ + /** @this {org_apache_flex_binding_ChainBinding} */ set: function(value) { this.applyBinding(); } http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/binding/ConstantBinding.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/binding/ConstantBinding.js b/frameworks/js/FlexJS/src/org/apache/flex/binding/ConstantBinding.js index 3ed2ab9..2c56451 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/binding/ConstantBinding.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/binding/ConstantBinding.js @@ -41,7 +41,7 @@ org_apache_flex_binding_ConstantBinding.prototype.FLEXJS_CLASS_INFO = Object.defineProperties(org_apache_flex_binding_ConstantBinding.prototype, { 'strand': { - /** @this {org_apache_flex_binding_ConstantBinding} */ + /** @this {org_apache_flex_binding_ConstantBinding} */ set: function(value) { org_apache_flex_utils_Language.superSetter(org_apache_flex_binding_ConstantBinding, this, 'strand', value); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/binding/GenericBinding.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/binding/GenericBinding.js b/frameworks/js/FlexJS/src/org/apache/flex/binding/GenericBinding.js index 357aee0..fd4ee23 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/binding/GenericBinding.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/binding/GenericBinding.js @@ -65,8 +65,8 @@ Object.defineProperties(org_apache_flex_binding_GenericBinding.prototype, { this.applyValue(val); } catch (e) { } - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/binding/SimpleBinding.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/binding/SimpleBinding.js b/frameworks/js/FlexJS/src/org/apache/flex/binding/SimpleBinding.js index 235e156..a8cc3c4 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/binding/SimpleBinding.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/binding/SimpleBinding.js @@ -71,7 +71,7 @@ org_apache_flex_binding_SimpleBinding.prototype.sourceChangeHandler = function(e Object.defineProperties(org_apache_flex_binding_SimpleBinding.prototype, { 'strand': { - /** @this {org_apache_flex_binding_SimpleBinding} */ + /** @this {org_apache_flex_binding_SimpleBinding} */ set: function(value) { org_apache_flex_utils_Language.superSetter( org_apache_flex_binding_SimpleBinding, this, 'strand', value); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/charts/core/ChartBase.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/charts/core/ChartBase.js b/frameworks/js/FlexJS/src/org/apache/flex/charts/core/ChartBase.js index 872c9fc..6486bf0 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/charts/core/ChartBase.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/charts/core/ChartBase.js @@ -71,11 +71,11 @@ org_apache_flex_charts_core_ChartBase.prototype.series_ = null; Object.defineProperties(org_apache_flex_charts_core_ChartBase.prototype, { 'series': { - /** @this {org_apache_flex_charts_core_ChartBase} */ + /** @this {org_apache_flex_charts_core_ChartBase} */ get: function() { return this.series_; }, - /** @this {org_apache_flex_charts_core_ChartBase} */ + /** @this {org_apache_flex_charts_core_ChartBase} */ set: function(value) { this.series_ = value; this.dispatchEvent(new org_apache_flex_events_Event('seriesChanged')); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/core/Application.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/Application.js b/frameworks/js/FlexJS/src/org/apache/flex/core/Application.js index aab8e23..1f96fa4 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/core/Application.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/core/Application.js @@ -73,14 +73,14 @@ Object.defineProperties(org_apache_flex_core_Application.prototype, { if (value.init) { value.init(this); } - } - }, - 'MXMLDescriptor': { - /** @this {org_apache_flex_core_Application} */ + } + }, + 'MXMLDescriptor': { + /** @this {org_apache_flex_core_Application} */ get: function() { - return null; - } - } + return null; + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/core/BeadViewBase.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/BeadViewBase.js b/frameworks/js/FlexJS/src/org/apache/flex/core/BeadViewBase.js index f4cbabe..9f5d903 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/core/BeadViewBase.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/core/BeadViewBase.js @@ -57,14 +57,14 @@ Object.defineProperties(org_apache_flex_core_BeadViewBase.prototype, { if (this._strand !== value) { this._strand = value; } - } - }, - 'host': { + } + }, + 'host': { /** @this {org_apache_flex_core_BeadViewBase} */ - get: function() { + get: function() { return this._strand; - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/core/CallLaterBead.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/CallLaterBead.js b/frameworks/js/FlexJS/src/org/apache/flex/core/CallLaterBead.js index fecfba4..e8236a5 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/core/CallLaterBead.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/core/CallLaterBead.js @@ -53,8 +53,8 @@ Object.defineProperties(org_apache_flex_binding_GenericBinding.prototype, { if (this.strand_ !== value) { this.strand_ = value; } - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/core/ContainerBase.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/ContainerBase.js b/frameworks/js/FlexJS/src/org/apache/flex/core/ContainerBase.js index b86f09b..f6bf4d4 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/core/ContainerBase.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/core/ContainerBase.js @@ -52,12 +52,6 @@ org_apache_flex_core_ContainerBase = function() { */ this.currentState_ = null; - /** - * @private - * @type {?Array} - */ - this.mxmlDescriptor = null; - this.document = this; }; @@ -137,17 +131,17 @@ org_apache_flex_core_ContainerBase.prototype.setMXMLDescriptor = Object.defineProperties(org_apache_flex_core_ContainerBase.prototype, { 'MXMLDescriptor': { - /** @this {org_apache_flex_core_ContainerBase} */ + /** @this {org_apache_flex_core_ContainerBase} */ get: function() { return this.mxmlDescriptor; } }, 'states': { - /** @this {org_apache_flex_core_ContainerBase} */ + /** @this {org_apache_flex_core_ContainerBase} */ get: function() { return this.states_; }, - /** @this {org_apache_flex_core_ContainerBase} */ + /** @this {org_apache_flex_core_ContainerBase} */ set: function(s) { this.states_ = s; this.currentState_ = s[0].name; @@ -164,11 +158,11 @@ Object.defineProperties(org_apache_flex_core_ContainerBase.prototype, { } }, 'currentState': { - /** @this {org_apache_flex_core_ContainerBase} */ + /** @this {org_apache_flex_core_ContainerBase} */ get: function() { return this.currentState_; }, - /** @this {org_apache_flex_core_ContainerBase} */ + /** @this {org_apache_flex_core_ContainerBase} */ set: function(s) { var event = new org_apache_flex_events_ValueChangeEvent( 'currentStateChange', false, false, this.currentState_, s); @@ -177,11 +171,11 @@ Object.defineProperties(org_apache_flex_core_ContainerBase.prototype, { } }, 'transitions': { - /** @this {org_apache_flex_core_ContainerBase} */ + /** @this {org_apache_flex_core_ContainerBase} */ get: function() { return this.transitions_; }, - /** @this {org_apache_flex_core_ContainerBase} */ + /** @this {org_apache_flex_core_ContainerBase} */ set: function(s) { this.transitions_ = s; } http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/core/FilledRectangle.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/FilledRectangle.js b/frameworks/js/FlexJS/src/org/apache/flex/core/FilledRectangle.js index 1d72fc0..ee5a125 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/core/FilledRectangle.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/core/FilledRectangle.js @@ -56,11 +56,11 @@ org_apache_flex_core_FilledRectangle.prototype.addedToParent = function() { Object.defineProperties(org_apache_flex_core_FilledRectangle.prototype, { 'fillColor': { - /** @this {org_apache_flex_core_FilledRectangle} */ + /** @this {org_apache_flex_core_FilledRectangle} */ get: function() { return this.fillColor_; }, - /** @this {org_apache_flex_core_FilledRectangle} */ + /** @this {org_apache_flex_core_FilledRectangle} */ set: function(value) { this.fillColor_ = value; } http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/core/FormatBase.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/FormatBase.js b/frameworks/js/FlexJS/src/org/apache/flex/core/FormatBase.js index f8acdd9..6e751a9 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/core/FormatBase.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/core/FormatBase.js @@ -74,46 +74,46 @@ org_apache_flex_core_FormatBase.prototype._formattedResult = ''; Object.defineProperties(org_apache_flex_core_FormatBase.prototype, { 'strand': { - /** @this {org_apache_flex_core_FormatBase} */ + /** @this {org_apache_flex_core_FormatBase} */ set: function(value) { this.strand_ = value; } }, 'propertyValue': { - /** @this {org_apache_flex_core_FormatBase} */ + /** @this {org_apache_flex_core_FormatBase} */ get: function() { var value = this.strand_[this.propertyName]; return value; } }, 'propertyName': { - /** @this {org_apache_flex_core_FormatBase} */ + /** @this {org_apache_flex_core_FormatBase} */ get: function() { if (this._propertyName == null) { this._propertyName = 'text'; } return this._propertyName; }, - /** @this {org_apache_flex_core_FormatBase} */ + /** @this {org_apache_flex_core_FormatBase} */ set: function(value) { this._propertyName = value; } }, 'eventName': { - /** @this {org_apache_flex_core_FormatBase} */ + /** @this {org_apache_flex_core_FormatBase} */ get: function() { if (this._eventName == null) { return this._propertyName + 'Change'; } return this._eventName; }, - /** @this {org_apache_flex_core_FormatBase} */ + /** @this {org_apache_flex_core_FormatBase} */ set: function(value) { this._eventName = value; } }, 'formattedString': { - /** @this {org_apache_flex_core_FormatBase} */ + /** @this {org_apache_flex_core_FormatBase} */ get: function() { return null; } http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/core/HTMLElementWrapper.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/HTMLElementWrapper.js b/frameworks/js/FlexJS/src/org/apache/flex/core/HTMLElementWrapper.js index e1d9454..0b1d19d 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/core/HTMLElementWrapper.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/core/HTMLElementWrapper.js @@ -102,8 +102,8 @@ Object.defineProperties(org_apache_flex_core_HTMLElementWrapper.prototype, { 'MXMLDescriptor': { get: function() { return null; - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/core/IBead.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/IBead.js b/frameworks/js/FlexJS/src/org/apache/flex/core/IBead.js index 3bba849..619a314 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/core/IBead.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/core/IBead.js @@ -44,5 +44,5 @@ Object.defineProperties(org_apache_flex_core_IBead.prototype, { 'strand': { /** @this {org_apache_flex_binding_GenericBinding} */ set: function(value) {} - } + } }); \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/core/ItemRendererClassFactory.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/ItemRendererClassFactory.js b/frameworks/js/FlexJS/src/org/apache/flex/core/ItemRendererClassFactory.js index 32a6069..be76971 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/core/ItemRendererClassFactory.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/core/ItemRendererClassFactory.js @@ -46,7 +46,7 @@ org_apache_flex_core_ItemRendererClassFactory. Object.defineProperties(org_apache_flex_core_ItemRendererClassFactory.prototype, { 'strand': { - /** @this {org_apache_flex_core_ItemRendererClassFactory} */ + /** @this {org_apache_flex_core_ItemRendererClassFactory} */ set: function(value) { this.strand_ = value; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/core/ListBase.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/ListBase.js b/frameworks/js/FlexJS/src/org/apache/flex/core/ListBase.js index d04df78..7cb3f6c 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/core/ListBase.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/core/ListBase.js @@ -78,30 +78,30 @@ Object.defineProperties(org_apache_flex_core_ListBase.prototype, { return this.model.dataProvider; }, /** @this {org_apache_flex_core_ListBase} */ - set: function(value) { + set: function(value) { this.model.dataProvider = value; - } - }, + } + }, 'selectedIndex': { /** @this {org_apache_flex_core_ListBase} */ get: function() { return this.model.selectedIndex; - }, + }, /** @this {org_apache_flex_core_ListBase} */ set: function(value) { this.model.selectedIndex = value; - } - }, + } + }, 'selectedItem': { /** @this {org_apache_flex_core_ListBase} */ get: function() { return this.model.selectedItem; - }, + }, /** @this {org_apache_flex_core_ListBase} */ set: function(value) { this.model.selectedItem = value; - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/core/SimpleStatesImpl.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/SimpleStatesImpl.js b/frameworks/js/FlexJS/src/org/apache/flex/core/SimpleStatesImpl.js index 7e37110..e0ac5c7 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/core/SimpleStatesImpl.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/core/SimpleStatesImpl.js @@ -70,8 +70,8 @@ Object.defineProperties(org_apache_flex_core_SimpleStatesImpl.prototype, { goog.bind(this.initialStateHandler_, this)); } } - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/core/UIBase.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/UIBase.js b/frameworks/js/FlexJS/src/org/apache/flex/core/UIBase.js index e184bdb..e27ba82 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/core/UIBase.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/core/UIBase.js @@ -341,20 +341,20 @@ Object.defineProperties(org_apache_flex_core_UIBase.prototype, { * @param {Array.<Object>} value The list of beads from MXML. */ 'beads': { - /** @this {org_apache_flex_core_UIBase} */ + /** @this {org_apache_flex_core_UIBase} */ set: function(value) { this.mxmlBeads_ = value; } }, 'numElements': { - /** @this {org_apache_flex_core_UIBase} */ + /** @this {org_apache_flex_core_UIBase} */ get: function() { var children = this.internalChildren(); return children.length; } }, 'parent': { - /** @this {org_apache_flex_core_UIBase} */ + /** @this {org_apache_flex_core_UIBase} */ get: function() { var p = this.positioner.parentNode; var wrapper = p.flexjs_wrapper; @@ -362,11 +362,11 @@ Object.defineProperties(org_apache_flex_core_UIBase.prototype, { } }, 'alpha': { - /** @this {org_apache_flex_core_UIBase} */ + /** @this {org_apache_flex_core_UIBase} */ set: function(alpha) { this.positioner.style.opacity = alpha; }, - /** @this {org_apache_flex_core_UIBase} */ + /** @this {org_apache_flex_core_UIBase} */ get: function() { var stralpha = this.positioner.style.opacity; var alpha = parseFloat(stralpha); @@ -374,12 +374,12 @@ Object.defineProperties(org_apache_flex_core_UIBase.prototype, { } }, 'x': { - /** @this {org_apache_flex_core_UIBase} */ + /** @this {org_apache_flex_core_UIBase} */ set: function(pixels) { this.positioner.style.position = 'absolute'; this.positioner.style.left = pixels.toString() + 'px'; }, - /** @this {org_apache_flex_core_UIBase} */ + /** @this {org_apache_flex_core_UIBase} */ get: function() { var strpixels = this.positioner.style.left; var pixels = parseFloat(strpixels); @@ -389,12 +389,12 @@ Object.defineProperties(org_apache_flex_core_UIBase.prototype, { } }, 'y': { - /** @this {org_apache_flex_core_UIBase} */ + /** @this {org_apache_flex_core_UIBase} */ set: function(pixels) { this.positioner.style.position = 'absolute'; this.positioner.style.top = pixels.toString() + 'px'; }, - /** @this {org_apache_flex_core_UIBase} */ + /** @this {org_apache_flex_core_UIBase} */ get: function() { var strpixels = this.positioner.style.top; var pixels = parseFloat(strpixels); @@ -404,12 +404,12 @@ Object.defineProperties(org_apache_flex_core_UIBase.prototype, { } }, 'width': { - /** @this {org_apache_flex_core_UIBase} */ + /** @this {org_apache_flex_core_UIBase} */ set: function(pixels) { this.explicitWidth = pixels; this.setWidth(pixels); }, - /** @this {org_apache_flex_core_UIBase} */ + /** @this {org_apache_flex_core_UIBase} */ get: function() { var pixels; var strpixels = this.positioner.style.width; @@ -428,37 +428,37 @@ Object.defineProperties(org_apache_flex_core_UIBase.prototype, { } }, 'explicitWidth': { - /** @this {org_apache_flex_core_UIBase} */ + /** @this {org_apache_flex_core_UIBase} */ set: function(pixels) { this.explicitWidth_ = pixels; if (!isNaN(pixels)) this.percentWidth_ = NaN; }, - /** @this {org_apache_flex_core_UIBase} */ + /** @this {org_apache_flex_core_UIBase} */ get: function() { return this.explicitWidth_; } }, 'percentWidth': { - /** @this {org_apache_flex_core_UIBase} */ + /** @this {org_apache_flex_core_UIBase} */ set: function(pixels) { this.percentWidth_ = pixels; this.positioner.style.width = pixels.toString() + '%'; if (!isNaN(pixels)) this.explicitWidth_ = NaN; }, - /** @this {org_apache_flex_core_UIBase} */ + /** @this {org_apache_flex_core_UIBase} */ get: function() { return this.percentWidth_; } }, 'height': { - /** @this {org_apache_flex_core_UIBase} */ + /** @this {org_apache_flex_core_UIBase} */ set: function(pixels) { this.explicitHeight = pixels; this.setHeight(pixels); }, - /** @this {org_apache_flex_core_UIBase} */ + /** @this {org_apache_flex_core_UIBase} */ get: function() { var pixels; var strpixels = this.positioner.style.height; @@ -477,36 +477,36 @@ Object.defineProperties(org_apache_flex_core_UIBase.prototype, { } }, 'explicitHeight': { - /** @this {org_apache_flex_core_UIBase} */ + /** @this {org_apache_flex_core_UIBase} */ set: function(pixels) { this.explicitHeight_ = pixels; if (!isNaN(pixels)) this.percentHeight_ = NaN; }, - /** @this {org_apache_flex_core_UIBase} */ + /** @this {org_apache_flex_core_UIBase} */ get: function() { return this.explicitHeight_; } }, 'percentHeight': { - /** @this {org_apache_flex_core_UIBase} */ + /** @this {org_apache_flex_core_UIBase} */ set: function(pixels) { this.percentHeight_ = pixels; this.positioner.style.height = pixels.toString() + '%'; if (!isNaN(pixels)) this.explicitHeight_ = NaN; }, - /** @this {org_apache_flex_core_UIBase} */ + /** @this {org_apache_flex_core_UIBase} */ get: function() { return this.percentHeight_; } }, 'id': { - /** @this {org_apache_flex_core_UIBase} */ + /** @this {org_apache_flex_core_UIBase} */ get: function() { return this.id; }, - /** @this {org_apache_flex_core_UIBase} */ + /** @this {org_apache_flex_core_UIBase} */ set: function(value) { if (this.id !== value) { this.element.id = value; @@ -516,11 +516,11 @@ Object.defineProperties(org_apache_flex_core_UIBase.prototype, { } }, 'className': { - /** @this {org_apache_flex_core_UIBase} */ + /** @this {org_apache_flex_core_UIBase} */ get: function() { return this.className; }, - /** @this {org_apache_flex_core_UIBase} */ + /** @this {org_apache_flex_core_UIBase} */ set: function(value) { if (this.className !== value) { this.element.className = this.typeNames ? value + ' ' + this.typeNames : value; @@ -530,7 +530,7 @@ Object.defineProperties(org_apache_flex_core_UIBase.prototype, { } }, 'model': { - /** @this {org_apache_flex_core_UIBase} */ + /** @this {org_apache_flex_core_UIBase} */ get: function() { if (this.model == null) { // addbead will set _model @@ -546,7 +546,7 @@ Object.defineProperties(org_apache_flex_core_UIBase.prototype, { } return this.model; }, - /** @this {org_apache_flex_core_UIBase} */ + /** @this {org_apache_flex_core_UIBase} */ set: function(value) { if (this.model !== value) { this.addBead(value); @@ -555,11 +555,11 @@ Object.defineProperties(org_apache_flex_core_UIBase.prototype, { } }, 'style': { - /** @this {org_apache_flex_core_UIBase} */ + /** @this {org_apache_flex_core_UIBase} */ get: function() { return this.style_; }, - /** @this {org_apache_flex_core_UIBase} */ + /** @this {org_apache_flex_core_UIBase} */ set: function(value) { if (this.style_ !== value) { if (typeof(value) == 'string') @@ -573,11 +573,11 @@ Object.defineProperties(org_apache_flex_core_UIBase.prototype, { } }, 'visible': { - /** @this {org_apache_flex_core_UIBase} */ + /** @this {org_apache_flex_core_UIBase} */ get: function() { return this.positioner.style.display !== 'none'; }, - /** @this {org_apache_flex_core_UIBase} */ + /** @this {org_apache_flex_core_UIBase} */ set: function(value) { var oldValue = this.positioner.style.display !== 'none'; if (value !== oldValue) { @@ -597,7 +597,7 @@ Object.defineProperties(org_apache_flex_core_UIBase.prototype, { } }, 'topMostEventDispatcher': { - /** @this {org_apache_flex_core_UIBase} */ + /** @this {org_apache_flex_core_UIBase} */ get: function() { return document.body.flexjs_wrapper; } http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/core/ValuesManager.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/ValuesManager.js b/frameworks/js/FlexJS/src/org/apache/flex/core/ValuesManager.js index 625696d..2e5617b 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/core/ValuesManager.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/core/ValuesManager.js @@ -44,11 +44,11 @@ org_apache_flex_core_ValuesManager.prototype.valuesImpl = null; Object.defineProperties(org_apache_flex_core_ValuesManager.prototype, { 'valuesImpl': { - /** @this {org_apache_flex_core_ValuesManager} */ + /** @this {org_apache_flex_core_ValuesManager} */ get: function() { return org_apache_flex_core_ValuesManager.valuesImpl; }, - /** @this {org_apache_flex_core_ValuesManager} */ + /** @this {org_apache_flex_core_ValuesManager} */ set: function(value) { org_apache_flex_core_ValuesManager.valuesImpl = value; } http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/core/ViewBase.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/ViewBase.js b/frameworks/js/FlexJS/src/org/apache/flex/core/ViewBase.js index 2a53d59..1a87bec 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/core/ViewBase.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/core/ViewBase.js @@ -160,7 +160,7 @@ Object.defineProperties(org_apache_flex_core_ViewBase.prototype, { * @return {Array} An array of descriptors. */ 'MXMLDescriptor': { - /** @this {org_apache_flex_core_ViewBase} */ + /** @this {org_apache_flex_core_ViewBase} */ get: function() { return this.MXMLDescriptor; } @@ -169,17 +169,17 @@ Object.defineProperties(org_apache_flex_core_ViewBase.prototype, { * @return {Object} The application model. */ 'applicationModel': { - /** @this {org_apache_flex_core_ViewBase} */ + /** @this {org_apache_flex_core_ViewBase} */ get: function() { return this.applicationModel; } }, 'states': { - /** @this {org_apache_flex_core_ViewBase} */ + /** @this {org_apache_flex_core_ViewBase} */ get: function() { return this.states_; }, - /** @this {org_apache_flex_core_ViewBase} */ + /** @this {org_apache_flex_core_ViewBase} */ set: function(value) { this.states_ = value; this.currentState_ = value[0].name; @@ -196,11 +196,11 @@ Object.defineProperties(org_apache_flex_core_ViewBase.prototype, { } }, 'currentState': { - /** @this {org_apache_flex_core_ViewBase} */ + /** @this {org_apache_flex_core_ViewBase} */ get: function() { return this.currentState_; }, - /** @this {org_apache_flex_core_ViewBase} */ + /** @this {org_apache_flex_core_ViewBase} */ set: function(value) { var event = new org_apache_flex_events_ValueChangeEvent( 'currentStateChange', false, false, this.currentState_, value); @@ -209,11 +209,11 @@ Object.defineProperties(org_apache_flex_core_ViewBase.prototype, { } }, 'transitions': { - /** @this {org_apache_flex_core_ViewBase} */ + /** @this {org_apache_flex_core_ViewBase} */ get: function() { return this.transitions_; }, - /** @this {org_apache_flex_core_ViewBase} */ + /** @this {org_apache_flex_core_ViewBase} */ set: function(value) { this.transitions_ = value; } http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/core/ViewBaseDataBinding.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/ViewBaseDataBinding.js b/frameworks/js/FlexJS/src/org/apache/flex/core/ViewBaseDataBinding.js index b4872a1..4dbedea 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/core/ViewBaseDataBinding.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/core/ViewBaseDataBinding.js @@ -62,8 +62,8 @@ Object.defineProperties(org_apache_flex_core_ViewBaseDataBinding.prototype, { this.strand_.addEventListener('initComplete', goog.bind(this.initCompleteHandler, this)); } - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/Circle.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/Circle.js b/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/Circle.js index 1ad11ea..c9cb729 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/Circle.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/Circle.js @@ -48,11 +48,11 @@ org_apache_flex_core_graphics_Circle.prototype.FLEXJS_CLASS_INFO = Object.defineProperties(org_apache_flex_core_graphics_Circle.prototype, { 'radius': { - /** @this {org_apache_flex_core_graphics_Circle} */ + /** @this {org_apache_flex_core_graphics_Circle} */ set: function(v) { this.radius_ = v; }, - /** @this {org_apache_flex_core_graphics_Circle} */ + /** @this {org_apache_flex_core_graphics_Circle} */ get: function() { return this.radius_; } http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/GradientBase.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/GradientBase.js b/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/GradientBase.js index d8f42b8..31ff6d0 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/GradientBase.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/GradientBase.js @@ -66,11 +66,11 @@ org_apache_flex_core_graphics_GradientBase.prototype._rotation = 0.0; Object.defineProperties(org_apache_flex_core_graphics_GradientBase.prototype, { 'entries': { - /** @this {org_apache_flex_core_graphics_GradientBase} */ + /** @this {org_apache_flex_core_graphics_GradientBase} */ get: function() { return this._entries; }, - /** @this {org_apache_flex_core_graphics_GradientBase} */ + /** @this {org_apache_flex_core_graphics_GradientBase} */ set: function(value) { this._entries = value; } @@ -84,37 +84,37 @@ Object.defineProperties(org_apache_flex_core_graphics_GradientBase.prototype, { * @return {number} */ 'rotation': { - /** @this {org_apache_flex_core_graphics_GradientBase} */ + /** @this {org_apache_flex_core_graphics_GradientBase} */ get: function() { return this._rotation; }, - /** @this {org_apache_flex_core_graphics_GradientBase} */ + /** @this {org_apache_flex_core_graphics_GradientBase} */ set: function(value) { this._rotation = value; } }, 'x': { - /** @this {org_apache_flex_core_graphics_GradientBase} */ + /** @this {org_apache_flex_core_graphics_GradientBase} */ get: function() { return this._x; }, - /** @this {org_apache_flex_core_graphics_GradientBase} */ + /** @this {org_apache_flex_core_graphics_GradientBase} */ set: function(value) { this._x = value; } }, 'y': { - /** @this {org_apache_flex_core_graphics_GradientBase} */ + /** @this {org_apache_flex_core_graphics_GradientBase} */ set: function(value) { this._y = value; }, - /** @this {org_apache_flex_core_graphics_GradientBase} */ + /** @this {org_apache_flex_core_graphics_GradientBase} */ get: function() { return this._y; } }, 'newId': { - /** @this {org_apache_flex_core_graphics_GradientBase} */ + /** @this {org_apache_flex_core_graphics_GradientBase} */ get: function() { return 'gradient' + String(Math.floor((Math.random() * 100000) + 1)); } http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/GradientEntry.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/GradientEntry.js b/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/GradientEntry.js index 126f718..ed75287 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/GradientEntry.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/GradientEntry.js @@ -57,11 +57,11 @@ org_apache_flex_core_graphics_GradientEntry.prototype._ratio = 0x000000; Object.defineProperties(org_apache_flex_core_graphics_GradientEntry.prototype, { 'alpha': { - /** @this {org_apache_flex_core_graphics_GradientEntry} */ + /** @this {org_apache_flex_core_graphics_GradientEntry} */ get: function() { return this._alpha; }, - /** @this {org_apache_flex_core_graphics_GradientEntry} */ + /** @this {org_apache_flex_core_graphics_GradientEntry} */ set: function(value) { var /** @type {number} */ oldValue = this._alpha; if (value != oldValue) { @@ -70,11 +70,11 @@ Object.defineProperties(org_apache_flex_core_graphics_GradientEntry.prototype, { } }, 'color': { - /** @this {org_apache_flex_core_graphics_GradientEntry} */ + /** @this {org_apache_flex_core_graphics_GradientEntry} */ get: function() { return this._color; }, - /** @this {org_apache_flex_core_graphics_GradientEntry} */ + /** @this {org_apache_flex_core_graphics_GradientEntry} */ set: function(value) { var /** @type {number} */ oldValue = this._color; if (value != oldValue) { @@ -83,11 +83,11 @@ Object.defineProperties(org_apache_flex_core_graphics_GradientEntry.prototype, { } }, 'ratio': { - /** @this {org_apache_flex_core_graphics_GradientEntry} */ + /** @this {org_apache_flex_core_graphics_GradientEntry} */ get: function() { return this._ratio; }, - /** @this {org_apache_flex_core_graphics_GradientEntry} */ + /** @this {org_apache_flex_core_graphics_GradientEntry} */ set: function(value) { this._ratio = value; } http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/GraphicShape.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/GraphicShape.js b/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/GraphicShape.js index 4bf01b3..3b7d09e 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/GraphicShape.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/GraphicShape.js @@ -93,11 +93,11 @@ Object.defineProperties(org_apache_flex_core_graphics_GraphicShape.prototype, { * @type {org_apache_flex_core_graphics_IFill} */ 'fill': { - /** @this {org_apache_flex_core_graphics_GraphicShape} */ + /** @this {org_apache_flex_core_graphics_GraphicShape} */ get: function() { return this.fill_; }, - /** @this {org_apache_flex_core_graphics_GraphicShape} */ + /** @this {org_apache_flex_core_graphics_GraphicShape} */ set: function(value) { this.fill_ = value; } @@ -106,11 +106,11 @@ Object.defineProperties(org_apache_flex_core_graphics_GraphicShape.prototype, { * @type {org_apache_flex_core_graphics_IStroke} The stroke object. */ 'stroke': { - /** @this {org_apache_flex_core_graphics_GraphicShape} */ + /** @this {org_apache_flex_core_graphics_GraphicShape} */ get: function() { return this.stroke_; }, - /** @this {org_apache_flex_core_graphics_GraphicShape} */ + /** @this {org_apache_flex_core_graphics_GraphicShape} */ set: function(value) { this.stroke_ = value; } http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/GraphicsContainer.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/GraphicsContainer.js b/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/GraphicsContainer.js index ead8551..c268665 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/GraphicsContainer.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/GraphicsContainer.js @@ -51,13 +51,13 @@ org_apache_flex_core_graphics_GraphicsContainer.prototype.removeAllElements = fu Object.defineProperties(org_apache_flex_core_graphics_GraphicsContainer.prototype, { 'numChildren': { - /** @this {org_apache_flex_core_graphics_GraphicsContainer} */ + /** @this {org_apache_flex_core_graphics_GraphicsContainer} */ get: function() { return this.internalChildren().length; } }, 'width': { - /** @this {org_apache_flex_core_graphics_GraphicsContainer} */ + /** @this {org_apache_flex_core_graphics_GraphicsContainer} */ set: function(value) { org_apache_flex_utils_Language.superSetter( org_apache_flex_core_graphics_GraphicsContainer, this, 'width', value); @@ -66,7 +66,7 @@ Object.defineProperties(org_apache_flex_core_graphics_GraphicsContainer.prototyp } }, 'height': { - /** @this {org_apache_flex_core_graphics_GraphicsContainer} */ + /** @this {org_apache_flex_core_graphics_GraphicsContainer} */ set: function(value) { org_apache_flex_utils_Language.superSetter( org_apache_flex_core_graphics_GraphicsContainer, this, 'height', value); @@ -75,7 +75,7 @@ Object.defineProperties(org_apache_flex_core_graphics_GraphicsContainer.prototyp } }, 'x': { - /** @this {org_apache_flex_core_graphics_GraphicsContainer} */ + /** @this {org_apache_flex_core_graphics_GraphicsContainer} */ set: function(value) { org_apache_flex_utils_Language.superSetter( org_apache_flex_core_graphics_GraphicsContainer, this, 'x', value); @@ -86,7 +86,7 @@ Object.defineProperties(org_apache_flex_core_graphics_GraphicsContainer.prototyp } }, 'y': { - /** @this {org_apache_flex_core_graphics_GraphicsContainer} */ + /** @this {org_apache_flex_core_graphics_GraphicsContainer} */ set: function(value) { org_apache_flex_utils_Language.superSetter( org_apache_flex_core_graphics_GraphicsContainer, this, 'y', value); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/LinearGradient.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/LinearGradient.js b/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/LinearGradient.js index 006321a..d89052e 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/LinearGradient.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/LinearGradient.js @@ -44,11 +44,11 @@ org_apache_flex_core_graphics_LinearGradient.prototype._scaleX = 1.0; Object.defineProperties(org_apache_flex_core_graphics_LinearGradient.prototype, { 'scaleX': { - /** @this {org_apache_flex_core_graphics_LinearGradient} */ + /** @this {org_apache_flex_core_graphics_LinearGradient} */ get: function() { return this._scaleX; }, - /** @this {org_apache_flex_core_graphics_LinearGradient} */ + /** @this {org_apache_flex_core_graphics_LinearGradient} */ set: function(value) { this._scaleX = value; } http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/Path.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/Path.js b/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/Path.js index f55ac3b..b72f8f1 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/Path.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/Path.js @@ -47,11 +47,11 @@ org_apache_flex_core_graphics_Path.prototype.FLEXJS_CLASS_INFO = Object.defineProperties(org_apache_flex_core_graphics_Path.prototype, { 'data': { - /** @this {org_apache_flex_core_graphics_Path} */ + /** @this {org_apache_flex_core_graphics_Path} */ set: function(v) { this.data_ = v; }, - /** @this {org_apache_flex_core_graphics_Path} */ + /** @this {org_apache_flex_core_graphics_Path} */ get: function() { return this.data_; } http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/SolidColor.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/SolidColor.js b/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/SolidColor.js index 2f34d10..1f260cb 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/SolidColor.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/SolidColor.js @@ -51,21 +51,21 @@ org_apache_flex_core_graphics_SolidColor.prototype.FLEXJS_CLASS_INFO = Object.defineProperties(org_apache_flex_core_graphics_SolidColor.prototype, { 'color': { - /** @this {org_apache_flex_core_graphics_SolidColor} */ + /** @this {org_apache_flex_core_graphics_SolidColor} */ get: function() { return this.color_; }, - /** @this {org_apache_flex_core_graphics_SolidColor} */ + /** @this {org_apache_flex_core_graphics_SolidColor} */ set: function(value) { this.color_ = value; } }, 'alpha': { - /** @this {org_apache_flex_core_graphics_SolidColor} */ + /** @this {org_apache_flex_core_graphics_SolidColor} */ get: function() { return this.alpha_; }, - /** @this {org_apache_flex_core_graphics_SolidColor} */ + /** @this {org_apache_flex_core_graphics_SolidColor} */ set: function(value) { this.alpha_ = value; } http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/SolidColorStroke.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/SolidColorStroke.js b/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/SolidColorStroke.js index dee2e7f..9453bbd 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/SolidColorStroke.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/SolidColorStroke.js @@ -57,31 +57,31 @@ org_apache_flex_core_graphics_SolidColorStroke.prototype.FLEXJS_CLASS_INFO = Object.defineProperties(org_apache_flex_core_graphics_SolidColorStroke.prototype, { 'color': { - /** @this {org_apache_flex_core_graphics_SolidColorStroke} */ + /** @this {org_apache_flex_core_graphics_SolidColorStroke} */ get: function() { return this.color_; }, - /** @this {org_apache_flex_core_graphics_SolidColorStroke} */ + /** @this {org_apache_flex_core_graphics_SolidColorStroke} */ set: function(value) { this.color_ = value; } }, 'alpha': { - /** @this {org_apache_flex_core_graphics_SolidColorStroke} */ + /** @this {org_apache_flex_core_graphics_SolidColorStroke} */ get: function() { return this.alpha_; }, - /** @this {org_apache_flex_core_graphics_SolidColorStroke} */ + /** @this {org_apache_flex_core_graphics_SolidColorStroke} */ set: function(value) { this.alpha_ = value; } }, 'weight': { - /** @this {org_apache_flex_core_graphics_SolidColorStroke} */ + /** @this {org_apache_flex_core_graphics_SolidColorStroke} */ get: function() { return this.weight_; }, - /** @this {org_apache_flex_core_graphics_SolidColorStroke} */ + /** @this {org_apache_flex_core_graphics_SolidColorStroke} */ set: function(value) { this.weight_ = value; } http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/createjs/CheckBox.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/createjs/CheckBox.js b/frameworks/js/FlexJS/src/org/apache/flex/createjs/CheckBox.js index d183ef6..a15e44a 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/createjs/CheckBox.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/createjs/CheckBox.js @@ -98,23 +98,23 @@ Object.defineProperties(org_apache_flex_createjs_CheckBox.prototype, { /** @this {org_apache_flex_createjs_CheckBox} */ get: function() { return this.checkBoxLabel.text; - }, + }, /** @this {org_apache_flex_createjs_CheckBox} */ set: function(value) { this.checkBoxLabel.text = value; - } - }, + } + }, 'selected': { /** @this {org_apache_flex_createjs_CheckBox} */ get: function() { return this.selected; - }, + }, /** @this {org_apache_flex_createjs_CheckBox} */ set: function(value) { this.checkMark.visible = this.selected = value; this.element.getStage().update(); - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/createjs/Label.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/createjs/Label.js b/frameworks/js/FlexJS/src/org/apache/flex/createjs/Label.js index d351865..0318f95 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/createjs/Label.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/createjs/Label.js @@ -49,11 +49,11 @@ org_apache_flex_createjs_Label.prototype.createElement = Object.defineProperties(org_apache_flex_createjs_Label.prototype, { 'text': { - /** @this {org_apache_flex_createjs_Label} */ + /** @this {org_apache_flex_createjs_Label} */ get: function() { return this.element.text; }, - /** @this {org_apache_flex_createjs_Label} */ + /** @this {org_apache_flex_createjs_Label} */ set: function(value) { this.element.text = value; this.element.getStage().update(); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/createjs/TextButton.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/createjs/TextButton.js b/frameworks/js/FlexJS/src/org/apache/flex/createjs/TextButton.js index 894971e..601116c 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/createjs/TextButton.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/createjs/TextButton.js @@ -80,10 +80,10 @@ Object.defineProperties(org_apache_flex_createjs_TextButton.prototype, { /** @this {org_apache_flex_createjs_TextButton} */ get: function() { return this.buttonLabel.text; - }, + }, /** @this {org_apache_flex_createjs_TextButton} */ set: function(value) { this.buttonLabel.text = value; - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/createjs/core/UIBase.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/createjs/core/UIBase.js b/frameworks/js/FlexJS/src/org/apache/flex/createjs/core/UIBase.js index 4d61e01..9e301ea 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/createjs/core/UIBase.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/createjs/core/UIBase.js @@ -58,39 +58,39 @@ org_apache_flex_createjs_core_UIBase.prototype.createElement = Object.defineProperties(org_apache_flex_createjs_core_UIBase.prototype, { 'x': { - /** @this {org_apache_flex_createjs_core_UIBase} */ + /** @this {org_apache_flex_createjs_core_UIBase} */ set: function(pixels) { this.positioner.x = pixels; this.element.getStage().update(); } }, 'y': { - /** @this {org_apache_flex_createjs_core_UIBase} */ + /** @this {org_apache_flex_createjs_core_UIBase} */ set: function(pixels) { this.positioner.y = pixels; this.element.getStage().update(); } }, 'width': { - /** @this {org_apache_flex_createjs_core_UIBase} */ + /** @this {org_apache_flex_createjs_core_UIBase} */ set: function(pixels) { this.positioner.width = pixels; this.element.getStage().update(); } }, 'height': { - /** @this {org_apache_flex_createjs_core_UIBase} */ + /** @this {org_apache_flex_createjs_core_UIBase} */ set: function(pixels) { this.positioner.height = pixels; this.element.getStage().update(); } }, 'id': { - /** @this {org_apache_flex_createjs_core_UIBase} */ + /** @this {org_apache_flex_createjs_core_UIBase} */ get: function() { return this.name; }, - /** @this {org_apache_flex_createjs_core_UIBase} */ + /** @this {org_apache_flex_createjs_core_UIBase} */ set: function(value) { if (this.name !== value) { this.element.name = value; @@ -100,11 +100,11 @@ Object.defineProperties(org_apache_flex_createjs_core_UIBase.prototype, { } }, 'model': { - /** @this {org_apache_flex_createjs_core_UIBase} */ + /** @this {org_apache_flex_createjs_core_UIBase} */ get: function() { return this.model; }, - /** @this {org_apache_flex_createjs_core_UIBase} */ + /** @this {org_apache_flex_createjs_core_UIBase} */ set: function(value) { if (this.model !== value) { this.addBead(value); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/createjs/core/ViewBase.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/createjs/core/ViewBase.js b/frameworks/js/FlexJS/src/org/apache/flex/createjs/core/ViewBase.js index b4071cf..5d58d8f 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/createjs/core/ViewBase.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/createjs/core/ViewBase.js @@ -41,11 +41,11 @@ Object.defineProperties(org_apache_flex_createjs_core_ViewBase.prototype, { /** @this {org_apache_flex_createjs_core_ViewBase} */ get: function() { return this.applicationModel_; - }, + }, set: function(value) { this.applicationModel = value; - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/effects/PlatformWiper.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/effects/PlatformWiper.js b/frameworks/js/FlexJS/src/org/apache/flex/effects/PlatformWiper.js index 109c287..a3282ca 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/effects/PlatformWiper.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/effects/PlatformWiper.js @@ -53,31 +53,31 @@ Object.defineProperties(org_apache_flex_effects_PlatformWiper.prototype, { 'target': { /** @this {org_apache_flex_effects_PlatformWiper} */ set: function(target) { - if (target == null) { - if (this.overflow_ == null) - delete this.target_.positioner.style.overflow; - else - this.target_.positioner.style.overflow = this.overflow_; - } - this.target_ = target; - if (target != null) { - this.overflow_ = this.target_.positioner.style.overflow; - } - } - }, + if (target == null) { + if (this.overflow_ == null) + delete this.target_.positioner.style.overflow; + else + this.target_.positioner.style.overflow = this.overflow_; + } + this.target_ = target; + if (target != null) { + this.overflow_ = this.target_.positioner.style.overflow; + } + } + }, 'visibleRect': { /** @this {org_apache_flex_effects_PlatformWiper} */ set: function(rect) { - /* - var styleString = 'rect('; - styleString += rect.top.toString() + 'px,'; - styleString += rect.width.toString() + 'px,'; - styleString += rect.height.toString() + 'px,'; - styleString += rect.left.toString() + 'px)'; - this.target_.positioner.style.clip = styleString; - */ - this.target_.positioner.style.height = rect.height.toString() + 'px'; - this.target_.positioner.style.overflow = 'hidden'; - } - } + /* + var styleString = 'rect('; + styleString += rect.top.toString() + 'px,'; + styleString += rect.width.toString() + 'px,'; + styleString += rect.height.toString() + 'px,'; + styleString += rect.left.toString() + 'px)'; + this.target_.positioner.style.clip = styleString; + */ + this.target_.positioner.style.height = rect.height.toString() + 'px'; + this.target_.positioner.style.overflow = 'hidden'; + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/events/Event.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/events/Event.js b/frameworks/js/FlexJS/src/org/apache/flex/events/Event.js index b9fe8e8..876c015 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/events/Event.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/events/Event.js @@ -73,19 +73,19 @@ org_apache_flex_events_Event.prototype.init = function(type) { Object.defineProperties(org_apache_flex_events_Event.prototype, { 'type': { - /** @this {org_apache_flex_events_Event} */ + /** @this {org_apache_flex_events_Event} */ get: function() { return this.type; } }, 'target': { - /** @this {org_apache_flex_events_Event} */ + /** @this {org_apache_flex_events_Event} */ get: function() { return this.target; } }, 'currentTarget': { - /** @this {org_apache_flex_events_Event} */ + /** @this {org_apache_flex_events_Event} */ get: function() { return this.currentTarget; } http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/html/Alert.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/Alert.js b/frameworks/js/FlexJS/src/org/apache/flex/html/Alert.js index c0d8f59..8cf07e4 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/Alert.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/Alert.js @@ -118,65 +118,65 @@ org_apache_flex_html_Alert.show = Object.defineProperties(org_apache_flex_html_Alert.prototype, { 'title': { - /** @this {org_apache_flex_html_Alert} */ + /** @this {org_apache_flex_html_Alert} */ get: function() { return this.titleBar.title; }, - /** @this {org_apache_flex_html_Alert} */ + /** @this {org_apache_flex_html_Alert} */ set: function(value) { this.titleBar.title = value; } }, 'text': { - /** @this {org_apache_flex_html_Alert} */ + /** @this {org_apache_flex_html_Alert} */ get: function() { return this.message.text; }, - /** @this {org_apache_flex_html_Alert} */ + /** @this {org_apache_flex_html_Alert} */ set: function(value) { this.message.text = value; } }, 'flags': { - /** @this {org_apache_flex_html_Alert} */ + /** @this {org_apache_flex_html_Alert} */ get: function() { return this.flags; }, - /** @this {org_apache_flex_html_Alert} */ + /** @this {org_apache_flex_html_Alert} */ set: function(value) { - this.flags = value; - - // add buttons based on flags - if (this.flags & org_apache_flex_html_Alert.OK) { - var ok = new org_apache_flex_html_TextButton(); - this.buttonArea.addElement(ok); - ok.text = 'OK'; - goog.events.listen(/** @type {EventTarget} */ (ok.element), 'click', - goog.bind(this.dismissAlert, this)); - } - if (this.flags & org_apache_flex_html_Alert.CANCEL) { - var cancel = new org_apache_flex_html_TextButton(); - this.buttonArea.addElement(cancel); - cancel.text = 'Cancel'; - goog.events.listen(/** @type {EventTarget} */ (cancel.element), 'click', - goog.bind(this.dismissAlert, this)); - } - if (this.flags & org_apache_flex_html_Alert.YES) { - var yes = new org_apache_flex_html_TextButton(); - this.buttonArea.addElement(yes); - yes.text = 'YES'; - goog.events.listen(/** @type {EventTarget} */ (yes.element), 'click', - goog.bind(this.dismissAlert, this)); - } - if (this.flags & org_apache_flex_html_Alert.NO) { - var nob = new org_apache_flex_html_TextButton(); - this.buttonArea.addElement(nob); - nob.text = 'NO'; - goog.events.listen(/** @type {EventTarget} */ (nob.element), 'click', - goog.bind(this.dismissAlert, this)); - } - } - } + this.flags = value; + + // add buttons based on flags + if (this.flags & org_apache_flex_html_Alert.OK) { + var ok = new org_apache_flex_html_TextButton(); + this.buttonArea.addElement(ok); + ok.text = 'OK'; + goog.events.listen(/** @type {EventTarget} */ (ok.element), 'click', + goog.bind(this.dismissAlert, this)); + } + if (this.flags & org_apache_flex_html_Alert.CANCEL) { + var cancel = new org_apache_flex_html_TextButton(); + this.buttonArea.addElement(cancel); + cancel.text = 'Cancel'; + goog.events.listen(/** @type {EventTarget} */ (cancel.element), 'click', + goog.bind(this.dismissAlert, this)); + } + if (this.flags & org_apache_flex_html_Alert.YES) { + var yes = new org_apache_flex_html_TextButton(); + this.buttonArea.addElement(yes); + yes.text = 'YES'; + goog.events.listen(/** @type {EventTarget} */ (yes.element), 'click', + goog.bind(this.dismissAlert, this)); + } + if (this.flags & org_apache_flex_html_Alert.NO) { + var nob = new org_apache_flex_html_TextButton(); + this.buttonArea.addElement(nob); + nob.text = 'NO'; + goog.events.listen(/** @type {EventTarget} */ (nob.element), 'click', + goog.bind(this.dismissAlert, this)); + } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/html/DropDownList.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/DropDownList.js b/frameworks/js/FlexJS/src/org/apache/flex/html/DropDownList.js index 22668f5..f2c48cf 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/DropDownList.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/DropDownList.js @@ -59,8 +59,8 @@ org_apache_flex_html_DropDownList.prototype. Object.defineProperties(org_apache_flex_html_DropDownList.prototype, { - 'dataProvider': { - /** @this {org_apache_flex_html_DropDownList} */ + 'dataProvider': { + /** @this {org_apache_flex_html_DropDownList} */ set: function(value) { var dp, i, n, opt; @@ -78,22 +78,22 @@ Object.defineProperties(org_apache_flex_html_DropDownList.prototype, { opt.text = value[i]; dp.add(opt); } - } - }, + } + }, 'selectedIndex': { - /** @this {org_apache_flex_html_DropDownList} */ - set: function(value) { + /** @this {org_apache_flex_html_DropDownList} */ + set: function(value) { this.model.selectedIndex = value; this.element.selectedIndex = value; - } - }, + } + }, 'selectedItem': { - /** @this {org_apache_flex_html_DropDownList} */ - get: function(value) { + /** @this {org_apache_flex_html_DropDownList} */ + get: function(value) { this.model.selectedItem = value; this.element.selectedIndex = this.selectedIndex; - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/html/Image.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/Image.js b/frameworks/js/FlexJS/src/org/apache/flex/html/Image.js index 8be3163..234967e 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/Image.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/Image.js @@ -67,14 +67,14 @@ org_apache_flex_html_Image.prototype.createElement = Object.defineProperties(org_apache_flex_html_Image.prototype, { - 'source': { - /** @this {org_apache_flex_html_Image} */ + 'source': { + /** @this {org_apache_flex_html_Image} */ get: function() { return this.model.source; - }, - /** @this {org_apache_flex_html_Image} */ - set: function(value) { + }, + /** @this {org_apache_flex_html_Image} */ + set: function(value) { this.model.source = value; - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/html/List.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/List.js b/frameworks/js/FlexJS/src/org/apache/flex/html/List.js index 4801bde..7a0d8f4 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/List.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/List.js @@ -52,38 +52,38 @@ org_apache_flex_html_List.prototype.FLEXJS_CLASS_INFO = Object.defineProperties(org_apache_flex_html_List.prototype, { - 'itemRenderer': { - /** @this {org_apache_flex_html_List} */ + 'itemRenderer': { + /** @this {org_apache_flex_html_List} */ get: function() { return this.itemRenderer_; - }, - /** @this {org_apache_flex_html_List} */ + }, + /** @this {org_apache_flex_html_List} */ set: function(value) { this.itemRenderer_ = value; - } - }, + } + }, 'labelField': { - /** @this {org_apache_flex_html_List} */ + /** @this {org_apache_flex_html_List} */ get: function() { return this.model.labelField; - }, - /** @this {org_apache_flex_html_List} */ + }, + /** @this {org_apache_flex_html_List} */ set: function(value) { this.model.labelField = value; - } - }, + } + }, 'rowHeight': { - /** @this {org_apache_flex_html_List} */ + /** @this {org_apache_flex_html_List} */ get: function() { return this.presentationModel.rowHeight; - }, - /** @this {org_apache_flex_html_List} */ - set: function(value) { + }, + /** @this {org_apache_flex_html_List} */ + set: function(value) { this.presentationModel.rowHeight = value; - } - }, + } + }, 'presentationModel': { - /** @this {org_apache_flex_html_List} */ + /** @this {org_apache_flex_html_List} */ get: function() { var presModel = this.getBeadByType(org_apache_flex_core_IListPresentationModel); if (presModel == null) { @@ -91,8 +91,8 @@ Object.defineProperties(org_apache_flex_html_List.prototype, { this.addBead(presModel); } return presModel; - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/html/NumericStepper.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/NumericStepper.js b/frameworks/js/FlexJS/src/org/apache/flex/html/NumericStepper.js index 39fecaa..308a4bd 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/NumericStepper.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/NumericStepper.js @@ -101,56 +101,56 @@ org_apache_flex_html_NumericStepper.prototype.spinnerChange = Object.defineProperties(org_apache_flex_html_NumericStepper.prototype, { - 'minimum': { - /** @this {org_apache_flex_html_NumericStepper} */ + 'minimum': { + /** @this {org_apache_flex_html_NumericStepper} */ get: function() { return this.model.minimum; - }, - /** @this {org_apache_flex_html_NumericStepper} */ + }, + /** @this {org_apache_flex_html_NumericStepper} */ set: function(value) { this.model.minimum = value; - } - }, + } + }, 'maximum': { - /** @this {org_apache_flex_html_NumericStepper} */ + /** @this {org_apache_flex_html_NumericStepper} */ get: function() { return this.model.maximum; - }, - /** @this {org_apache_flex_html_NumericStepper} */ + }, + /** @this {org_apache_flex_html_NumericStepper} */ set: function(value) { this.model.maximum = value; - } - }, + } + }, 'value': { - /** @this {org_apache_flex_html_NumericStepper} */ + /** @this {org_apache_flex_html_NumericStepper} */ get: function() { return this.model.value; - }, - /** @this {org_apache_flex_html_NumericStepper} */ + }, + /** @this {org_apache_flex_html_NumericStepper} */ set: function(newValue) { this.model.value = newValue; this.spinner.value = newValue; - } - }, + } + }, 'snapInterval': { - /** @this {org_apache_flex_html_NumericStepper} */ + /** @this {org_apache_flex_html_NumericStepper} */ get: function() { return this.model.snapInterval; - }, - /** @this {org_apache_flex_html_NumericStepper} */ - set: function(value) { + }, + /** @this {org_apache_flex_html_NumericStepper} */ + set: function(value) { this.model.snapInterval = value; - } - }, + } + }, 'stepSize': { - /** @this {org_apache_flex_html_NumericStepper} */ + /** @this {org_apache_flex_html_NumericStepper} */ get: function() { return this.model.stepSize; - }, - /** @this {org_apache_flex_html_NumericStepper} */ + }, + /** @this {org_apache_flex_html_NumericStepper} */ set: function(value) { this.model.stepSize = value; - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/html/SimpleList.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/SimpleList.js b/frameworks/js/FlexJS/src/org/apache/flex/html/SimpleList.js index 69d6c07..b393acd 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/SimpleList.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/SimpleList.js @@ -58,12 +58,12 @@ org_apache_flex_html_SimpleList.prototype. Object.defineProperties(org_apache_flex_html_SimpleList.prototype, { - 'dataProvider': { - /** @this {org_apache_flex_html_SimpleList} */ - get: function() { + 'dataProvider': { + /** @this {org_apache_flex_html_SimpleList} */ + get: function() { return this.model.dataProvider; - }, - /** @this {org_apache_flex_html_SimpleList} */ + }, + /** @this {org_apache_flex_html_SimpleList} */ set: function(value) { var dp, i, n, opt; @@ -81,27 +81,27 @@ Object.defineProperties(org_apache_flex_html_SimpleList.prototype, { opt.text = value[i].toString(); dp.add(opt); } - } - }, + } + }, 'selectedIndex': { - /** @this {org_apache_flex_html_SimpleList} */ - get: function() { + /** @this {org_apache_flex_html_SimpleList} */ + get: function() { return this.model.selectedIndex; - }, - /** @this {org_apache_flex_html_SimpleList} */ + }, + /** @this {org_apache_flex_html_SimpleList} */ set: function(value) { this.model.selectedIndex = value; - } - }, + } + }, 'selectedItem': { - /** @this {org_apache_flex_html_SimpleList} */ - get: function() { + /** @this {org_apache_flex_html_SimpleList} */ + get: function() { return this.model.selectedItem; - }, - /** @this {org_apache_flex_html_SimpleList} */ + }, + /** @this {org_apache_flex_html_SimpleList} */ set: function(value) { this.model.selectedItem = value; - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/html/Slider.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/Slider.js b/frameworks/js/FlexJS/src/org/apache/flex/html/Slider.js index 85a58fa..1b1f315 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/Slider.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/Slider.js @@ -74,57 +74,57 @@ org_apache_flex_html_Slider.prototype.createElement = Object.defineProperties(org_apache_flex_html_Slider.prototype, { - 'value': { - /** @this {org_apache_flex_html_Slider} */ - get: function() { + 'value': { + /** @this {org_apache_flex_html_Slider} */ + get: function() { return this.model.value; - }, - /** @this {org_apache_flex_html_Slider} */ + }, + /** @this {org_apache_flex_html_Slider} */ set: function(newValue) { this.model.value = newValue; this.setThumbFromValue(this.model.value); - } - }, + } + }, 'minimum': { - /** @this {org_apache_flex_html_Slider} */ - get: function() { + /** @this {org_apache_flex_html_Slider} */ + get: function() { return this.model.minimum; - }, - /** @this {org_apache_flex_html_Slider} */ + }, + /** @this {org_apache_flex_html_Slider} */ set: function(value) { this.model.minimum = value; - } - }, + } + }, 'maximum': { - /** @this {org_apache_flex_html_Slider} */ + /** @this {org_apache_flex_html_Slider} */ get: function() { return this.model.maximum; - }, - /** @this {org_apache_flex_html_Slider} */ - set: function(value) { + }, + /** @this {org_apache_flex_html_Slider} */ + set: function(value) { this.model.maximum = value; - } - }, - 'snapInterval': { - /** @this {org_apache_flex_html_Slider} */ + } + }, + 'snapInterval': { + /** @this {org_apache_flex_html_Slider} */ get: function() { return this.model.snapInterval; - }, - /** @this {org_apache_flex_html_Slider} */ + }, + /** @this {org_apache_flex_html_Slider} */ set: function(value) { this.model.snapInterval = value; - } - }, + } + }, 'stepSize': { - /** @this {org_apache_flex_html_Slider} */ + /** @this {org_apache_flex_html_Slider} */ get: function() { return this.model.stepSize; - }, - /** @this {org_apache_flex_html_Slider} */ - set: function(value) { + }, + /** @this {org_apache_flex_html_Slider} */ + set: function(value) { this.model.stepSize = value; - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/html/Spinner.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/Spinner.js b/frameworks/js/FlexJS/src/org/apache/flex/html/Spinner.js index c4eb4cb..4d5be82 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/Spinner.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/Spinner.js @@ -131,15 +131,15 @@ Object.defineProperties(org_apache_flex_html_Spinner.prototype, { /** @this {org_apache_flex_html_Spinner} */ get: function() { return this.value_; - }, + }, /** @this {org_apache_flex_html_Spinner} */ - set: function(value) { + set: function(value) { if (value != this.value_) { this.value_ = value; this.dispatchEvent('valueChange'); } - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/html/TextArea.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/TextArea.js b/frameworks/js/FlexJS/src/org/apache/flex/html/TextArea.js index dd61f60..c38f700 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/TextArea.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/TextArea.js @@ -55,11 +55,11 @@ org_apache_flex_html_TextArea.prototype.createElement = Object.defineProperties(org_apache_flex_html_TextArea.prototype, { 'text': { - /** @this {org_apache_flex_html_TextArea} */ + /** @this {org_apache_flex_html_TextArea} */ get: function() { return this.element.value; }, - /** @this {org_apache_flex_html_TextArea} */ + /** @this {org_apache_flex_html_TextArea} */ set: function(value) { this.element.value = value; } http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/html/TextButton.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/TextButton.js b/frameworks/js/FlexJS/src/org/apache/flex/html/TextButton.js index d84c9f7..9eb5d21 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/TextButton.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/TextButton.js @@ -41,11 +41,11 @@ org_apache_flex_html_TextButton.prototype.FLEXJS_CLASS_INFO = Object.defineProperties(org_apache_flex_html_TextButton.prototype, { 'text': { - /** @this {org_apache_flex_html_TextButton} */ + /** @this {org_apache_flex_html_TextButton} */ get: function() { return this.element.innerHTML; }, - /** @this {org_apache_flex_html_TextButton} */ + /** @this {org_apache_flex_html_TextButton} */ set: function(value) { this.element.innerHTML = value; }
