You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2015/01/23 21:24:13 UTC
[03/14] git commit: [flex-asjs] [refs/heads/develop] - use
setProperty (for now at least)
use setProperty (for now at least)
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/2eb10b30
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/2eb10b30
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/2eb10b30
Branch: refs/heads/develop
Commit: 2eb10b30c86cb24d9b26f30f7a5570f9c7dd71d7
Parents: bf33956
Author: Alex Harui <ah...@apache.org>
Authored: Fri Jan 23 12:18:28 2015 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Fri Jan 23 12:24:04 2015 -0800
----------------------------------------------------------------------
examples/FlexJSStore/src/ProductJSONItemConverter.as | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2eb10b30/examples/FlexJSStore/src/ProductJSONItemConverter.as
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore/src/ProductJSONItemConverter.as b/examples/FlexJSStore/src/ProductJSONItemConverter.as
index 4d44ecf..6114b57 100755
--- a/examples/FlexJSStore/src/ProductJSONItemConverter.as
+++ b/examples/FlexJSStore/src/ProductJSONItemConverter.as
@@ -34,7 +34,7 @@ package
var obj:Object = super.convertItem(data);
var product:Product = new Product();
for (var p:String in obj)
- product[p] = obj[p];
+ setProperty(product, p, obj[p]);
return product;
}
}