http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7ab51ec4/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/NonVirtualVerticalLayout.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/NonVirtualVerticalLayout.js b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/NonVirtualVerticalLayout.js index b15aa99..d7ecf91 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/NonVirtualVerticalLayout.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/NonVirtualVerticalLayout.js @@ -42,7 +42,7 @@ org_apache_flex_html_beads_layouts_NonVirtualVerticalLayout.prototype.FLEXJS_CLA Object.defineProperties(org_apache_flex_html_beads_layouts_NonVirtualVerticalLayout.prototype, { 'strand': { - set: function(value) { + set: function(value) { if (this.strand_ !== value) { this.strand_ = value; if (this.strand_.isWidthSizedToContent() && @@ -60,8 +60,8 @@ Object.defineProperties(org_apache_flex_html_beads_layouts_NonVirtualVerticalLay this.addOtherListeners(); } } - } - } + } + } });
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7ab51ec4/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/NonVirtualVerticalScrollingLayout.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/NonVirtualVerticalScrollingLayout.js b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/NonVirtualVerticalScrollingLayout.js index 9a969e9..94a102c 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/NonVirtualVerticalScrollingLayout.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/NonVirtualVerticalScrollingLayout.js @@ -41,10 +41,10 @@ org_apache_flex_html_beads_layouts_NonVirtualVerticalScrollingLayout.prototype.F Object.defineProperties(org_apache_flex_html_beads_layouts_NonVirtualVerticalLayout.prototype, { 'strand': { - set: function(value) { + set: function(value) { if (this.strand_ !== value) { this.strand_ = value; } - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7ab51ec4/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/ButtonBarButtonItemRenderer.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/ButtonBarButtonItemRenderer.js b/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/ButtonBarButtonItemRenderer.js index 0fc0bd6..b8c2be9 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/ButtonBarButtonItemRenderer.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/ButtonBarButtonItemRenderer.js @@ -72,15 +72,15 @@ org_apache_flex_html_supportClasses_ButtonBarButtonItemRenderer. Object.defineProperties(org_apache_flex_html_supportClasses_ButtonBarButtonItemRenderer.prototype, { 'strand': { - set: function(value) { + set: function(value) { this.strand_ = value; - }, + }, get: function() { return this.strand_; - } - }, + } + }, 'data': { - set: function(value) { + set: function(value) { org_apache_flex_html_supportClasses_ButtonBarButtonItemRenderer.base(this, 'set_data', value); @@ -93,6 +93,6 @@ Object.defineProperties(org_apache_flex_html_supportClasses_ButtonBarButtonItemR else { this.button.innerHTML = value; } - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7ab51ec4/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/DataItemRenderer.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/DataItemRenderer.js b/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/DataItemRenderer.js index bd9ecf7..e953520 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/DataItemRenderer.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/DataItemRenderer.js @@ -71,28 +71,28 @@ org_apache_flex_html_supportClasses_DataItemRenderer. Object.defineProperties(org_apache_flex_html_supportClasses_DataItemRenderer.prototype, { 'itemRendererParent': { - get: function() { + get: function() { return this.rendererParent_; - }, + }, set: function(value) { this.rendererParent_ = value; - } - }, + } + }, 'index': { - set: function(value) { + set: function(value) { this.index_ = value; - } - }, + } + }, 'dataField': { - set: function(value) { + set: function(value) { this.dataField_ = value; - }, + }, get: function() { return this.dataField_; - } - }, + } + }, 'selected': { - set: function(value) { + set: function(value) { this.selected_ = value; if (value) { @@ -100,10 +100,10 @@ Object.defineProperties(org_apache_flex_html_supportClasses_DataItemRenderer.pro } else { this.backgroundView.style.backgroundColor = null; } - } - }, + } + }, 'hovered': { - set: function(value) { + set: function(value) { this.hovered_ = value; if (value) { @@ -115,6 +115,6 @@ Object.defineProperties(org_apache_flex_html_supportClasses_DataItemRenderer.pro this.backgroundView.style.backgroundColor = null; } } - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7ab51ec4/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/NonVirtualDataGroup.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/NonVirtualDataGroup.js b/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/NonVirtualDataGroup.js index a5de69b..3194a72 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/NonVirtualDataGroup.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/NonVirtualDataGroup.js @@ -46,17 +46,17 @@ org_apache_flex_html_supportClasses_NonVirtualDataGroup.prototype.FLEXJS_CLASS_I Object.defineProperties(org_apache_flex_html_supportClasses_NonVirtualDataGroup.prototype, { 'strand': { - set: function(value) { + set: function(value) { this.strand_ = value; } - }, - 'numElements': { - get: function() { + }, + 'numElements': { + get: function() { var n = this.element.childNodes.length; return n; - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7ab51ec4/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/StringItemRenderer.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/StringItemRenderer.js b/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/StringItemRenderer.js index 4377bad..906a70d 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/StringItemRenderer.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/StringItemRenderer.js @@ -72,36 +72,36 @@ org_apache_flex_html_supportClasses_StringItemRenderer. Object.defineProperties(org_apache_flex_html_supportClasses_StringItemRenderer.prototype, { 'strand': { - set: function(value) { + set: function(value) { this.strand_ = value; - }, + }, get: function() { return this.strand_; - } - }, + } + }, 'itemRendererParent': { - get: function() { + get: function() { return this.rendererParent_; - }, + }, set: function(value) { this.rendererParent_ = value; - } - }, + } + }, 'index': { - set: function(value) { + set: function(value) { this.index_ = value; - } - }, + } + }, 'text': { - set: function(value) { + set: function(value) { this.element.innerHTML = value; - }, + }, get: function() { return this.element.innerHTML; - } - }, + } + }, 'data': { - set: function(value) { + set: function(value) { org_apache_flex_html_supportClasses_StringItemRenderer.base(this, 'set_data', value); if (this.labelField) { @@ -115,9 +115,9 @@ Object.defineProperties(org_apache_flex_html_supportClasses_StringItemRenderer.p } else { this.element.innerHTML = String(value); } - }, + }, get: function() { return this.element.innerHTML; - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7ab51ec4/frameworks/js/FlexJS/src/org/apache/flex/html5/CheckBox.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html5/CheckBox.js b/frameworks/js/FlexJS/src/org/apache/flex/html5/CheckBox.js index 2e4ec8b..23afeb9 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html5/CheckBox.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html5/CheckBox.js @@ -51,19 +51,19 @@ org_apache_flex_html5_CheckBox.prototype.createElement = Object.defineProperties(org_apache_flex_html5_CheckBox.prototype, { 'text': { - get: function() { + get: function() { return this.element.childNodes.item(1).nodeValue; - }, + }, set: function(value) { this.element.childNodes.item(1).nodeValue = value; - } - }, - selected: { - get: function() { + } + }, + selected: { + get: function() { return this.element.childNodes.item(0).checked; - }, - set: function(value) { + }, + set: function(value) { this.element.childNodes.item(0).checked = value; - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7ab51ec4/frameworks/js/FlexJS/src/org/apache/flex/html5/ComboBox.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html5/ComboBox.js b/frameworks/js/FlexJS/src/org/apache/flex/html5/ComboBox.js index 4b36bbc..0075319 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html5/ComboBox.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html5/ComboBox.js @@ -170,14 +170,14 @@ Object.defineProperties(org_apache_flex_html5_ComboBox.prototype, { 'dataProvider': { set: function(value) { this.dataProvider = value; - } - }, + } + }, 'text': { - get: function() { + get: function() { return this.element.childNodes.item(0).value; - }, + }, set: function(value) { this.element.childNodes.item(0).value = value; - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7ab51ec4/frameworks/js/FlexJS/src/org/apache/flex/html5/Label.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html5/Label.js b/frameworks/js/FlexJS/src/org/apache/flex/html5/Label.js index c4bf43d..1730bf0 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html5/Label.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html5/Label.js @@ -44,11 +44,11 @@ org_apache_flex_html5_Label.prototype.createElement = Object.defineProperties(org_apache_flex_html5_Label.prototype, { 'text': { - get: function() { + get: function() { return this.element.innerHTML; - }, - set: function(value) { + }, + set: function(value) { this.element.innerHTML = value; - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7ab51ec4/frameworks/js/FlexJS/src/org/apache/flex/html5/TextArea.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html5/TextArea.js b/frameworks/js/FlexJS/src/org/apache/flex/html5/TextArea.js index de728ce..09e546c 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html5/TextArea.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html5/TextArea.js @@ -44,11 +44,11 @@ org_apache_flex_html5_TextArea.prototype.createElement = Object.defineProperties(org_apache_flex_html5_TextArea.prototype, { 'text': { - get: function() { + get: function() { return this.element.value; - }, + }, set: function(value) { this.element.value = value; - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7ab51ec4/frameworks/js/FlexJS/src/org/apache/flex/html5/TextInput.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html5/TextInput.js b/frameworks/js/FlexJS/src/org/apache/flex/html5/TextInput.js index e5226c8..f936ebe 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html5/TextInput.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html5/TextInput.js @@ -45,11 +45,11 @@ org_apache_flex_html5_TextInput.prototype.createElement = Object.defineProperties(org_apache_flex_html5_TextInput.prototype, { 'text': { - get: function() { + get: function() { return this.element.value; - }, + }, set: function(value) { this.element.value = value; - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7ab51ec4/frameworks/js/FlexJS/src/org/apache/flex/jquery/CheckBox.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/jquery/CheckBox.js b/frameworks/js/FlexJS/src/org/apache/flex/jquery/CheckBox.js index cfd452c..6b56abf 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/jquery/CheckBox.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/jquery/CheckBox.js @@ -63,19 +63,19 @@ org_apache_flex_jquery_CheckBox.prototype.createElement = Object.defineProperties(org_apache_flex_jquery_CheckBox.prototype, { 'text': { - get: function() { + get: function() { return this.element.childNodes.item(1).nodeValue; - }, - set: function(value) { + }, + set: function(value) { this.element.childNodes.item(1).nodeValue = value; - } - }, - 'selected': { - get: function() { + } + }, + 'selected': { + get: function() { return this.element.childNodes.item(0).checked; - }, - set: function(value) { + }, + set: function(value) { this.element.childNodes.item(0).checked = value; - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7ab51ec4/frameworks/js/FlexJS/src/org/apache/flex/jquery/RadioButton.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/jquery/RadioButton.js b/frameworks/js/FlexJS/src/org/apache/flex/jquery/RadioButton.js index 648a895..1a2996a 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/jquery/RadioButton.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/jquery/RadioButton.js @@ -101,47 +101,47 @@ org_apache_flex_jquery_RadioButton.prototype.addedToParent = Object.defineProperties(org_apache_flex_jquery_RadioButton.prototype, { 'id': { - set: function(value) { + set: function(value) { org_apache_flex_jquery_RadioButton.base(this, 'set_id', value); this.labelFor.id = value; this.labelFor.htmlFor = value; - } - }, + } + }, 'groupName': { get: function() { return this.radioGroupName; - }, + }, set: function(value) { this.radioGroupName = value; this.input.name = value; - } - }, + } + }, 'text': { - get: function() { + get: function() { return this.labelFor.innerHTML; - }, + }, set: function(value) { this.labelFor.innerHTML = value; - } - }, - 'selected': { + } + }, + 'selected': { get: function() { return this.input.checked; - }, - set: function(value) { + }, + set: function(value) { this.input.checked = value; - } - }, - 'value': { - get: function() { + } + }, + 'value': { + get: function() { return this.input.value; - }, - set: function(value) { + }, + set: function(value) { this.input.value = value; - } - }, - 'selectedValue': { - get: function() { + } + }, + 'selectedValue': { + get: function() { var buttons, groupName, i, n; groupName = this.input.name; @@ -154,8 +154,8 @@ Object.defineProperties(org_apache_flex_jquery_RadioButton.prototype, { } } return null; - }, - set: function(value) { + }, + set: function(value) { var buttons, groupName, i, n; groupName = this.input.name; @@ -167,6 +167,6 @@ Object.defineProperties(org_apache_flex_jquery_RadioButton.prototype, { break; } } - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7ab51ec4/frameworks/js/FlexJS/src/org/apache/flex/jquery/ToggleTextButton.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/jquery/ToggleTextButton.js b/frameworks/js/FlexJS/src/org/apache/flex/jquery/ToggleTextButton.js index a6cc30c..6030b31 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/jquery/ToggleTextButton.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/jquery/ToggleTextButton.js @@ -94,25 +94,25 @@ org_apache_flex_jquery_ToggleTextButton.prototype.addedToParent = Object.defineProperties(org_apache_flex_jquery_ToggleTextButton.prototype, { 'id': { - set: function(value) { + set: function(value) { org_apache_flex_jquery_ToggleTextButton.base(this, 'set_id', value); this.labelFor.id = value; this.labelFor.htmlFor = value; - } - }, + } + }, 'text': { - get: function() { + get: function() { return this.labelFor.innerHTML; - }, + }, set: function(value) { this.labelFor.innerHTML = value; - } - }, - 'selected': { - get: function() { + } + }, + 'selected': { + get: function() { return this.input.selected_; - }, - set: function(value) { + }, + set: function(value) { if (this.input.selected_ != value) { this.inputselected_ = value; /* @@ -126,9 +126,9 @@ Object.defineProperties(org_apache_flex_jquery_ToggleTextButton.prototype, { this.className = className + this.SELECTED; } */ - } - } - } + } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7ab51ec4/frameworks/js/FlexJS/src/org/apache/flex/maps/google/Map.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/maps/google/Map.js b/frameworks/js/FlexJS/src/org/apache/flex/maps/google/Map.js index 78972b5..976207c 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/maps/google/Map.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/maps/google/Map.js @@ -81,15 +81,15 @@ org_apache_flex_maps_google_Map.prototype.createElement = Object.defineProperties(org_apache_flex_maps_google_Map.prototype, { 'token': { - set: function(value) { + set: function(value) { this.token = value; - } - }, - 'selectedMarker': { - get: function() { + } + }, + 'selectedMarker': { + get: function() { return this._selectedMarker; - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7ab51ec4/frameworks/js/FlexJS/src/org/apache/flex/net/BinaryUploader.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/net/BinaryUploader.js b/frameworks/js/FlexJS/src/org/apache/flex/net/BinaryUploader.js index 496b681..1e000c3 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/net/BinaryUploader.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/net/BinaryUploader.js @@ -131,48 +131,48 @@ org_apache_flex_net_BinaryUploader.HTTP_METHOD_DELETE = 'DELETE'; Object.defineProperties(org_apache_flex_net_BinaryUploader.prototype, { 'data': { - get: function() { + get: function() { return this.element.responseText; - } - }, + } + }, 'binaryData': { - get: function() { + get: function() { return this.binaryData_; - }, + }, set: function(value) { this.binaryData_ = value; - } - }, + } + }, 'contentType': { - get: function() { + get: function() { return this.contentType_; - }, + }, set: function(value) { this.contentType_ = value; - } - }, + } + }, 'headers': { - get: function() { + get: function() { if (this.headers_ === 'undefined') { this.headers_ = []; } return this.headers_; - }, + }, set: function(value) { this.headers_ = value; - } - }, + } + }, 'method': { - get: function() { + get: function() { return this.method_; - }, + }, set: function(value) { this.method_ = value; - } - }, + } + }, 'responseHeaders': { - get: function() { + get: function() { var allHeaders, c, hdr, i, n, part1, part2; if (typeof this.responseHeaders_ === 'undefined') { @@ -189,55 +189,55 @@ Object.defineProperties(org_apache_flex_net_BinaryUploader.prototype, { } } return this.responseHeaders_; - } - }, + } + }, 'responseURL': { - get: function() { + get: function() { return this.responseURL_; - } - }, + } + }, 'status': { - get: function() { + get: function() { return this.status_; - } - }, + } + }, 'timeout': { - get: function() { + get: function() { return this.timeout_; - }, + }, set: function(value) { this.timeout_ = value; - } - }, + } + }, 'url': { - get: function() { + get: function() { return this.url_; - }, + }, set: function(value) { this.url_ = value; - } - }, + } + }, 'id': { - get: function() { + get: function() { return this.id; - }, + }, set: function(value) { if (this.id !== value) { this.id = value; this.dispatchEvent('idChanged'); } - } - }, + } + }, 'MXMLDescriptor': { - get: function() { + get: function() { return null; - } - }, + } + }, 'MXMLProperties': { - get: function() { + get: function() { return null; - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7ab51ec4/frameworks/js/FlexJS/src/org/apache/flex/net/HTTPService.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/net/HTTPService.js b/frameworks/js/FlexJS/src/org/apache/flex/net/HTTPService.js index 017b8ce..f6b6104 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/net/HTTPService.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/net/HTTPService.js @@ -137,53 +137,53 @@ org_apache_flex_net_HTTPService.HTTP_METHOD_DELETE = 'DELETE'; Object.defineProperties(org_apache_flex_net_HTTPService.prototype, { 'beads': { - set: function(value) { + set: function(value) { this.beads_ = value; - } - }, + } + }, 'data': { - get: function() { + get: function() { return this.element.responseText; - } - }, + } + }, 'contentData': { - get: function() { + get: function() { return this.contentData_; - }, + }, set: function(value) { this.contentData_ = value; - } - }, + } + }, 'contentType': { - get: function() { + get: function() { return this.contentType_; - }, + }, set: function(value) { this.contentType_ = value; - } - }, + } + }, 'headers': { - get: function() { + get: function() { if (this.headers_ === undefined) { this.headers_ = []; } return this.headers_; - }, + }, set: function(value) { this.headers_ = value; - } - }, + } + }, 'method': { - get: function() { + get: function() { return this.method_; - }, + }, set: function(value) { this.method_ = value; - } - }, + } + }, 'responseHeaders': { - get: function() { + get: function() { var allHeaders, c, hdr, i, n, part1, part2; if (typeof this.responseHeaders_ === 'undefined') { @@ -200,57 +200,57 @@ Object.defineProperties(org_apache_flex_net_HTTPService.prototype, { } } return this.responseHeaders_; - } - }, + } + }, 'responseURL': { - get: function() { + get: function() { return this.responseURL_; - } - }, + } + }, 'status': { - get: function() { + get: function() { return this.status_; - } - }, + } + }, 'timeout': { - get: function() { + get: function() { return this.timeout_; - }, + }, set: function(value) { this.timeout_ = value; - } - }, + } + }, 'url': { - get: function() { + get: function() { return this.url_; - }, + }, set: function(value) { this.url_ = value; - } - }, + } + }, 'id': { - get: function() { + get: function() { return this.id; - }, + }, set: function(value) { if (this.id !== value) { this.id = value; this.dispatchEvent('idChanged'); } - } - }, + } + }, 'MXMLDescriptor': { - get: function() { + get: function() { return null; - } - }, + } + }, 'MXMLProperties': { - get: function() { + get: function() { return null; - } - }, + } + }, 'strand': { - set: function(value) { + set: function(value) { if (this.strand_ !== value) { this.strand_ = value; } @@ -258,8 +258,8 @@ Object.defineProperties(org_apache_flex_net_HTTPService.prototype, { for (var i = 0; i < n; i++) { this.addBead(this.beads_[i]); } - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7ab51ec4/frameworks/js/FlexJS/src/org/apache/flex/utils/BinaryData.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/utils/BinaryData.js b/frameworks/js/FlexJS/src/org/apache/flex/utils/BinaryData.js index 3f9acde..8c0ef74 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/utils/BinaryData.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/utils/BinaryData.js @@ -48,28 +48,28 @@ org_apache_flex_utils_BinaryData.prototype.FLEXJS_CLASS_INFO = Object.defineProperties(org_apache_flex_utils_BinaryData.prototype, { 'data': { - get: function() { + get: function() { return this.data_; - } - }, + } + }, 'position': { - get: function() { + get: function() { return this.position_; - }, + }, set: function(value) { this.position_ = value; - } - }, + } + }, 'length': { - get: function() { + get: function() { return this.data_.byteLength; - } - }, + } + }, 'bytesAvailable': { - get: function() { + get: function() { return this.data_.byteLength - this.position_; - } - } + } + } }); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7ab51ec4/frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js b/frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js index 6558657..d96a6f8 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js @@ -254,13 +254,13 @@ org_apache_flex_utils_Language.postdecrement = function(obj, prop) { * * @expose * @param {Object} clazz The class. - * @param {Object} pThis The this pointer. + * @param {Object} pthis The this pointer. * @param {string} prop The name of the getter. * @return {number} */ org_apache_flex_utils_Language.superGetter = function(clazz, pthis, prop) { var superdesc = Object.getOwnPropertyDescriptor(clazz.superClass_, prop); - return superdesc.get.call(pthis); + return superdesc.get.call(pthis); }; @@ -269,12 +269,12 @@ org_apache_flex_utils_Language.superGetter = function(clazz, pthis, prop) { * * @expose * @param {Object} clazz The class. - * @param {Object} pThis The this pointer. + * @param {Object} pthis The this pointer. * @param {string} prop The name of the getter. * @param {Object} value The value. * @return {number} */ org_apache_flex_utils_Language.superSetter = function(clazz, pthis, prop, value) { var superdesc = Object.getOwnPropertyDescriptor(clazz.superClass_, prop); - return superdesc.set.apply(pthis, [value]); + return superdesc.set.apply(pthis, [value]); }; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7ab51ec4/frameworks/js/FlexJS/src/org/apache/flex/utils/MXMLDataInterpreter.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/utils/MXMLDataInterpreter.js b/frameworks/js/FlexJS/src/org/apache/flex/utils/MXMLDataInterpreter.js index eb9f090..a254a35 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/utils/MXMLDataInterpreter.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/utils/MXMLDataInterpreter.js @@ -80,9 +80,9 @@ org_apache_flex_utils_MXMLDataInterpreter.generateMXMLObject = id = value; } else if (name === 'id') { - try { + try { comp.id = value; - } catch (e) {}; + } catch (e) {} } else { comp[name] = value; @@ -190,7 +190,7 @@ org_apache_flex_utils_MXMLDataInterpreter.initializeStrandBasedObject = } else if (name === 'id') { try { comp.id = value; - } catch (e) {}; + } catch (e) {} } else { comp[name] = value; } http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7ab51ec4/frameworks/js/FlexJS/src/org/apache/flex/utils/Timer.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/utils/Timer.js b/frameworks/js/FlexJS/src/org/apache/flex/utils/Timer.js index 455020c..be43517 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/utils/Timer.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/utils/Timer.js @@ -108,30 +108,30 @@ org_apache_flex_utils_Timer.prototype.timerHandler = }; Object.defineProperties(org_apache_flex_utils_Timer.prototype, { - "currentCount": { + 'currentCount': { get: function() { return this._currentCount; - } - }, - "running": { + } + }, + 'running': { get: function() { return this.timerInterval !== -1; - } - }, - "delay": { - get: function() { + } + }, + 'delay': { + get: function() { return this._delay; - }, + }, set: function(value) { this._delay = value; - } - }, - "repeatCount": { - get: function() { + } + }, + 'repeatCount': { + get: function() { return this._repeatCount; - }, + }, set: function(value) { this._repeatCount = value; - } - } + } + } });