You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by er...@apache.org on 2013/11/07 14:58:33 UTC
[14/17] git commit: [flex-asjs] [refs/heads/develop] - JSHint: fixed
'variable not defined' error.
JSHint: fixed 'variable not defined' error.
Signed-off-by: Erik de Bruin <er...@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 <er...@ixsoftware.nl>
Authored: Thu Nov 7 14:32:32 2013 +0100
Committer: Erik de Bruin <er...@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;
}