flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erikdebr...@apache.org
Subject [17/17] git commit: [flex-asjs] [refs/heads/develop] - JSHint: fixed 'variable not defined' error.
Date Thu, 07 Nov 2013 13:58:36 GMT
JSHint: fixed 'variable not defined' error.

Signed-off-by: Erik de Bruin <erik@ixsoftware.nl>


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/b4fe6ab2
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/b4fe6ab2
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/b4fe6ab2

Branch: refs/heads/develop
Commit: b4fe6ab21daba23aa4c3f3f2b025d490d667d1ed
Parents: d2ab4e1
Author: Erik de Bruin <erik@ixsoftware.nl>
Authored: Thu Nov 7 14:53:15 2013 +0100
Committer: Erik de Bruin <erik@ixsoftware.nl>
Committed: Thu Nov 7 14:53:15 2013 +0100

----------------------------------------------------------------------
 .../js/FlexJS/src/org/apache/flex/html/staticControls/Spinner.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b4fe6ab2/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 2100286..9190af4 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
@@ -124,7 +124,7 @@ org.apache.flex.html.staticControls.Spinner.prototype.get_maximum =
  */
 org.apache.flex.html.staticControls.Spinner.prototype.set_maximum =
     function(value) {
-  if (value != maximum_) {
+  if (value != this.maximum_) {
     this.maximum_ = value;
     this.dispatchEvent('maximumChanged');
   }
@@ -147,7 +147,7 @@ org.apache.flex.html.staticControls.Spinner.prototype.get_snapInterval
=
  */
 org.apache.flex.html.staticControls.Spinner.prototype.set_snapInterval =
     function(value) {
-  if (value != snapInterval) {
+  if (value != this.snapInterval_) {
     this.snapInterval_ = value;
     this.dispatchEvent('snapIntervalChanged');
   }


Mime
View raw message