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/b1f2396b Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/b1f2396b Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/b1f2396b Branch: refs/heads/develop Commit: b1f2396b8e560ae935d02709d1cfa576e4af2911 Parents: 1652c14 Author: Alex Harui <aha...@apache.org> Authored: Tue Sep 23 14:38:35 2014 -0700 Committer: Alex Harui <aha...@apache.org> Committed: Tue Sep 23 15:04:02 2014 -0700 ---------------------------------------------------------------------- frameworks/js/FlexJS/src/org/apache/flex/html/Label.js | 4 ++-- frameworks/js/FlexJS/src/org/apache/flex/html/Panel.js | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b1f2396b/frameworks/js/FlexJS/src/org/apache/flex/html/Label.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/Label.js b/frameworks/js/FlexJS/src/org/apache/flex/html/Label.js index 3670908..97720ca 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/Label.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/Label.js @@ -66,7 +66,7 @@ org.apache.flex.html.Label.prototype.set_text = function(value) { * @return {string} The html getter. */ org.apache.flex.html.Label.prototype.get_html = function() { - return this.element.innerHTML; + return this.element.innerHTML; }; @@ -75,5 +75,5 @@ org.apache.flex.html.Label.prototype.get_html = function() { * @param {string} value The html setter. */ org.apache.flex.html.Label.prototype.set_html = function(value) { - this.element.innerHTML = value; + this.element.innerHTML = value; }; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b1f2396b/frameworks/js/FlexJS/src/org/apache/flex/html/Panel.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/Panel.js b/frameworks/js/FlexJS/src/org/apache/flex/html/Panel.js index e5b3c61..50f1607 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/Panel.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/Panel.js @@ -142,7 +142,7 @@ org.apache.flex.html.Panel.prototype.addedToParent = * @return {boolean} The showCloseButton getter. */ org.apache.flex.html.Panel.prototype.get_showCloseButton = function() { - return this.model.get_showCloseButton(); + return this.get_model().get_showCloseButton(); }; @@ -152,7 +152,7 @@ org.apache.flex.html.Panel.prototype.get_showCloseButton = function() { */ org.apache.flex.html.Panel.prototype.set_showCloseButton = function(value) { - this.model.set_showCloseButton(value); + this.get_model().set_showCloseButton(value); }; @@ -161,7 +161,7 @@ org.apache.flex.html.Panel.prototype.set_showCloseButton = * @return {string} The title getter. */ org.apache.flex.html.Panel.prototype.get_title = function() { - return this.model.get_title(); + return this.get_model().get_title(); }; @@ -171,7 +171,7 @@ org.apache.flex.html.Panel.prototype.get_title = function() { */ org.apache.flex.html.Panel.prototype.set_title = function(value) { - this.model.set_title(value); + this.get_model().set_title(value); };