flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcl...@apache.org
Subject [5/7] git commit: [flex-sdk] [refs/heads/release4.12.0] - Now able to compile on 10.2 and 10.3 which doesn't have JSON support
Date Mon, 24 Feb 2014 07:08:28 GMT
Now able to compile on 10.2 and 10.3 which doesn't have JSON support


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

Branch: refs/heads/release4.12.0
Commit: daed2dfd37da70af303883d34780018e06b80b56
Parents: 4e0fba5
Author: Justin Mclean <jmclean@apache.org>
Authored: Mon Feb 24 17:57:45 2014 +1100
Committer: Justin Mclean <jmclean@apache.org>
Committed: Mon Feb 24 17:57:45 2014 +1100

----------------------------------------------------------------------
 .../projects/framework/src/mx/collections/ArrayCollection.as       | 2 +-
 frameworks/projects/framework/src/mx/collections/ArrayList.as      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/daed2dfd/frameworks/projects/framework/src/mx/collections/ArrayCollection.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/src/mx/collections/ArrayCollection.as b/frameworks/projects/framework/src/mx/collections/ArrayCollection.as
index 9d6f18d..589cc41 100644
--- a/frameworks/projects/framework/src/mx/collections/ArrayCollection.as
+++ b/frameworks/projects/framework/src/mx/collections/ArrayCollection.as
@@ -158,7 +158,7 @@ public class ArrayCollection extends ListCollectionView implements IExternalizab
 	public function toJSON(s:String):*
 	{
 		var array:Array = toArray();
-		return JSON.stringify(array);
+		return this["JSON"].stringify(array);
 	}
 	
     /**

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/daed2dfd/frameworks/projects/framework/src/mx/collections/ArrayList.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/src/mx/collections/ArrayList.as b/frameworks/projects/framework/src/mx/collections/ArrayList.as
index abdb09b..117793a 100644
--- a/frameworks/projects/framework/src/mx/collections/ArrayList.as
+++ b/frameworks/projects/framework/src/mx/collections/ArrayList.as
@@ -282,7 +282,7 @@ public class ArrayList extends EventDispatcher
 	public function toJSON(s:String):*
 	{
 		var array:Array = toArray();
-		return JSON.stringify(array);
+		return this["JSON"].stringify(array);
 	}
 	
     /**


Mime
View raw message