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/12/10 17:35:01 UTC

[3/3] git commit: [flex-falcon] [refs/heads/develop] - clean up injecthtml

clean up injecthtml


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

Branch: refs/heads/develop
Commit: b8d6cd459931c6acf4a8dc4321cfd15cd0b1f10e
Parents: 264ae6b
Author: Alex Harui <ah...@apache.org>
Authored: Thu Dec 10 08:34:51 2015 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Thu Dec 10 08:34:51 2015 -0800

----------------------------------------------------------------------
 .../org/apache/flex/compiler/internal/graph/GoogDepsWriter.java   | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b8d6cd45/compiler.jx/src/org/apache/flex/compiler/internal/graph/GoogDepsWriter.java
----------------------------------------------------------------------
diff --git a/compiler.jx/src/org/apache/flex/compiler/internal/graph/GoogDepsWriter.java b/compiler.jx/src/org/apache/flex/compiler/internal/graph/GoogDepsWriter.java
index 4e00648..21ec7b6 100644
--- a/compiler.jx/src/org/apache/flex/compiler/internal/graph/GoogDepsWriter.java
+++ b/compiler.jx/src/org/apache/flex/compiler/internal/graph/GoogDepsWriter.java
@@ -594,6 +594,9 @@ public class GoogDepsWriter {
                 }    
                 if (inInjectHTML)
                 {
+                	s = s.trim();
+                	if (s.startsWith("*"))
+                		s = s.substring(1);
 				    additionalHTML.add(s);
 				    continue;
                 }