flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [10/14] git commit: [flex-utilities] [refs/heads/develop] - do token replacement on all attributes
Date Mon, 09 Dec 2013 23:30:12 GMT
do token replacement on all attributes


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

Branch: refs/heads/develop
Commit: 00bf3f958cd78d6cc0e80c3961abc9579fd86edb
Parents: 1f7c230
Author: Alex Harui <aharui@apache.org>
Authored: Mon Dec 9 14:00:12 2013 -0800
Committer: Alex Harui <aharui@apache.org>
Committed: Mon Dec 9 14:00:12 2013 -0800

----------------------------------------------------------------------
 ant_on_air/src/org/apache/flex/ant/tags/Property.as              | 4 ++--
 .../src/org/apache/flex/ant/tags/supportClasses/TagHandler.as    | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/00bf3f95/ant_on_air/src/org/apache/flex/ant/tags/Property.as
----------------------------------------------------------------------
diff --git a/ant_on_air/src/org/apache/flex/ant/tags/Property.as b/ant_on_air/src/org/apache/flex/ant/tags/Property.as
index a5097cc..73fb2c1 100644
--- a/ant_on_air/src/org/apache/flex/ant/tags/Property.as
+++ b/ant_on_air/src/org/apache/flex/ant/tags/Property.as
@@ -101,11 +101,11 @@ package org.apache.flex.ant.tags
         {
             if (name == "file")
             {
-                fileName = ant.getValue(value, context);
+                fileName = value;
             }
             else if (name == "value")
             {
-                this.value = ant.getValue(value, context);
+                this.value = value;
             }
             else if (name == "environment")
             {

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/00bf3f95/ant_on_air/src/org/apache/flex/ant/tags/supportClasses/TagHandler.as
----------------------------------------------------------------------
diff --git a/ant_on_air/src/org/apache/flex/ant/tags/supportClasses/TagHandler.as b/ant_on_air/src/org/apache/flex/ant/tags/supportClasses/TagHandler.as
index 70c215d..3b3b1d2 100644
--- a/ant_on_air/src/org/apache/flex/ant/tags/supportClasses/TagHandler.as
+++ b/ant_on_air/src/org/apache/flex/ant/tags/supportClasses/TagHandler.as
@@ -71,7 +71,7 @@ package org.apache.flex.ant.tags.supportClasses
         {
             var n:int = xmlList.length();
             for (var i:int = 0; i < n; i++)
-                processAttribute(xmlList[i].name().toString(), xmlList[i].toString());
+                processAttribute(xmlList[i].name().toString(), ant.getValue(xmlList[i].toString(),
context));
         }
         
         /**


Mime
View raw message