fix some lint issues
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/38fb2416 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/38fb2416 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/38fb2416 Branch: refs/heads/develop Commit: 38fb241666625d0df3df770fc20c69684c526796 Parents: 72faf79 Author: Alex Harui <[email protected]> Authored: Mon Jul 22 14:59:35 2013 -0700 Committer: Alex Harui <[email protected]> Committed: Mon Jul 22 14:59:35 2013 -0700 ---------------------------------------------------------------------- .../apache/flex/html/staticControls/Spinner.js | 37 ++++++++++---------- 1 file changed, 19 insertions(+), 18 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/38fb2416/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/Spinner.js ---------------------------------------------------------------------- diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/Spinner.js b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/Spinner.js index f569ef1..3dd7ad3 100644 --- a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/Spinner.js +++ b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/Spinner.js @@ -82,9 +82,10 @@ org.apache.flex.html.staticControls.Spinner.prototype.get_value = */ org.apache.flex.html.staticControls.Spinner.prototype.set_value = function(value) { - if( value != this.value_ ) { - this.value_ = value; - this.dispatchEvent('valueChanged'); + if (value != this.value_) { + this.value_ = value; + this.dispatchEvent('valueChanged'); + } }; /** @@ -103,9 +104,9 @@ org.apache.flex.html.staticControls.Spinner.prototype.get_minimum = function() { */ org.apache.flex.html.staticControls.Spinner.prototype.set_minimum = function(value) { - if( value != this.minimum_ ) { - this.minimum_ = value; - this.dispatchEvent('minimumChanged'); + if (value != this.minimum_) { + this.minimum_ = value; + this.dispatchEvent('minimumChanged'); } }; @@ -126,10 +127,10 @@ org.apache.flex.html.staticControls.Spinner.prototype.get_maximum = */ org.apache.flex.html.staticControls.Spinner.prototype.set_maximum = function(value) { - if( value != maximum_ ) { - this.maximum_ = value; - this.dispatchEvent('maximumChanged'); - } + if (value != maximum_) { + this.maximum_ = value; + this.dispatchEvent('maximumChanged'); + } }; /** @@ -149,10 +150,10 @@ org.apache.flex.html.staticControls.Spinner.prototype.get_snapInterval = */ org.apache.flex.html.staticControls.Spinner.prototype.set_snapInterval = function(value) { - if( value != snapInterval ) { - this.snapInterval_ = value; - this.dispatchEvent('snapIntervalChanged'); - } + if (value != snapInterval) { + this.snapInterval_ = value; + this.dispatchEvent('snapIntervalChanged'); + } }; /** @@ -172,10 +173,10 @@ org.apache.flex.html.staticControls.Spinner.prototype.get_stepSize = */ org.apache.flex.html.staticControls.Spinner.prototype.set_stepSize = function(value) { - if( value != this.stepSize_ ) { - this.stepSize_ = value; - this.dispatchEvent('stepSizeChanged'); - } + if (value != this.stepSize_) { + this.stepSize_ = value; + this.dispatchEvent('stepSizeChanged'); + } };
