flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erikdebr...@apache.org
Subject [14/17] git commit: [flex-asjs] [refs/heads/develop] - JSHint: fixed 'variable not defined' error.
Date Thu, 07 Nov 2013 13:58:33 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/a9338222
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/a9338222
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/a9338222

Branch: refs/heads/develop
Commit: a933822254c1322412931e2fd99f8c756c96495a
Parents: 9e1366b
Author: Erik de Bruin <erik@ixsoftware.nl>
Authored: Thu Nov 7 14:32:32 2013 +0100
Committer: Erik de Bruin <erik@ixsoftware.nl>
Committed: Thu Nov 7 14:32:32 2013 +0100

----------------------------------------------------------------------
 frameworks/js/FlexJS/src/org/apache/flex/core/ViewBase.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a9338222/frameworks/js/FlexJS/src/org/apache/flex/core/ViewBase.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/ViewBase.js b/frameworks/js/FlexJS/src/org/apache/flex/core/ViewBase.js
index 3a74eca..811c95c 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/core/ViewBase.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/core/ViewBase.js
@@ -128,7 +128,7 @@ org.apache.flex.core.ViewBase.prototype.set_states = function(value) {
 org.apache.flex.core.ViewBase.prototype.hasState = function(state) {
   for (var p in this.states_)
   {
-    var s = states_[p];
+    var s = this.states_[p];
     if (s.name == state)
       return true;
   }


Mime
View raw message