You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2014/05/06 09:17:30 UTC
[5/9] git commit: [flex-asjs] [refs/heads/develop] - clean up some
warnings
clean up some warnings
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/9c9d52ec
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/9c9d52ec
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/9c9d52ec
Branch: refs/heads/develop
Commit: 9c9d52ecde3654417fb85ee96270f840f55d3f1e
Parents: 7030b0e
Author: Alex Harui <ah...@apache.org>
Authored: Mon May 5 13:32:15 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Mon May 5 13:32:15 2014 -0700
----------------------------------------------------------------------
frameworks/js/FlexJS/src/org/apache/flex/jquery/CheckBox.js | 5 +++--
.../js/FlexJS/src/org/apache/flex/jquery/RadioButton.js | 9 +++++----
.../js/FlexJS/src/org/apache/flex/jquery/TextButton.js | 1 +
3 files changed, 9 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9c9d52ec/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 ba28a73..184e84b 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/jquery/CheckBox.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/jquery/CheckBox.js
@@ -54,6 +54,7 @@ org.apache.flex.jquery.CheckBox.prototype.createElement =
this.positioner = this.element;
this.element.flexjs_wrapper = this;
+ return this.element;
};
@@ -78,7 +79,7 @@ org.apache.flex.jquery.CheckBox.prototype.set_text =
/**
* @expose
- * @return {bool} The selected getter.
+ * @return {boolean} The selected getter.
*/
org.apache.flex.jquery.CheckBox.prototype.get_selected =
function() {
@@ -88,7 +89,7 @@ org.apache.flex.jquery.CheckBox.prototype.get_selected =
/**
* @expose
- * @param {bool} value The selected setter.
+ * @param {boolean} value The selected setter.
*/
org.apache.flex.jquery.CheckBox.prototype.set_selected =
function(value) {
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9c9d52ec/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 89b6d77..76a86ae 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/jquery/RadioButton.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/jquery/RadioButton.js
@@ -35,6 +35,7 @@ goog.inherits(org.apache.flex.jquery.RadioButton,
/**
* @expose
+ * @type {string|null}
* The name of the radioGroup.
*/
org.apache.flex.jquery.RadioButton.prototype.radioGroupName = null;
@@ -80,11 +81,11 @@ org.apache.flex.jquery.RadioButton.prototype.createElement =
this.positioner = this.element;
this.flexjs_wrapper = this;
+ return this.element;
};
/**
- * @override
* @param {Object} doc the document for this item.
*/
org.apache.flex.jquery.RadioButton.prototype.setDocument =
@@ -115,7 +116,7 @@ org.apache.flex.jquery.RadioButton.prototype.initHandler =
/**
* @expose
- * @return {string} The groupName getter.
+ * @return {string|null} The groupName getter.
*/
org.apache.flex.jquery.RadioButton.prototype.get_groupName =
function() {
@@ -187,7 +188,7 @@ org.apache.flex.jquery.RadioButton.prototype.set_text =
/**
* @expose
- * @return {bool} The selected getter.
+ * @return {boolean} The selected getter.
*/
org.apache.flex.jquery.RadioButton.prototype.get_selected =
function() {
@@ -197,7 +198,7 @@ org.apache.flex.jquery.RadioButton.prototype.get_selected =
/**
* @expose
- * @param {bool} value The selected setter.
+ * @param {boolean} value The selected setter.
*/
org.apache.flex.jquery.RadioButton.prototype.set_selected =
function(value) {
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9c9d52ec/frameworks/js/FlexJS/src/org/apache/flex/jquery/TextButton.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/jquery/TextButton.js b/frameworks/js/FlexJS/src/org/apache/flex/jquery/TextButton.js
index 2518062..59e2457 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/jquery/TextButton.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/jquery/TextButton.js
@@ -40,6 +40,7 @@ org.apache.flex.jquery.TextButton.prototype.createElement =
this.positioner = this.element;
this.element.flexjs_wrapper = this;
+ return this.element;
};