flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [24/28] git commit: [flex-asjs] [refs/heads/develop] - better conversion
Date Tue, 23 Dec 2014 07:41:47 GMT
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 <aharui@apache.org>
Authored: Mon Dec 22 10:05:04 2014 -0800
Committer: Alex Harui <aharui@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 + '}');
 };


Mime
View raw message