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 2014/12/23 08:41:47 UTC

[24/28] git commit: [flex-asjs] [refs/heads/develop] - better conversion

better conversion


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

Branch: refs/heads/develop
Commit: b908fbcf5a7c05c74536accbc58e130ad31a9c71
Parents: cc0c2e1
Author: Alex Harui <ah...@apache.org>
Authored: Mon Dec 22 10:05:04 2014 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Mon Dec 22 10:05:04 2014 -0800

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


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b908fbcf/frameworks/js/FlexJS/src/org/apache/flex/net/JSONItemConverter.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/net/JSONItemConverter.js b/frameworks/js/FlexJS/src/org/apache/flex/net/JSONItemConverter.js
index e24f5a1..b0c8146 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/net/JSONItemConverter.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/net/JSONItemConverter.js
@@ -39,5 +39,5 @@ org.apache.flex.net.JSONItemConverter.prototype.FLEXJS_CLASS_INFO =
  * @return {*} The object.
  */
 org.apache.flex.net.JSONItemConverter.prototype.convertItem = function(s) {
-  return JSON.parse(s);
+  return JSON.parse(s + '}');
 };