You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by jo...@apache.org on 2017/06/28 22:16:46 UTC
git commit: [flex-falcon] [refs/heads/develop] - FLEX-35332:
compiler-jx: fixed issue in SourceMapDirectiveEmitter where it incorrectly
emitted source map directive referencing file extension .mxml.map instead of
.js.map for MXML files
Repository: flex-falcon
Updated Branches:
refs/heads/develop 31244afad -> d79844028
FLEX-35332: compiler-jx: fixed issue in SourceMapDirectiveEmitter where it incorrectly emitted source map directive referencing file extension .mxml.map instead of .js.map for MXML files
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/d7984402
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/d7984402
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/d7984402
Branch: refs/heads/develop
Commit: d798440282af8d46df396bef3b0eb724919bdfcc
Parents: 31244af
Author: Josh Tynjala <jo...@apache.org>
Authored: Wed Jun 28 15:16:46 2017 -0700
Committer: Josh Tynjala <jo...@apache.org>
Committed: Wed Jun 28 15:16:46 2017 -0700
----------------------------------------------------------------------
.../internal/codegen/js/jx/SourceMapDirectiveEmitter.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/d7984402/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/js/jx/SourceMapDirectiveEmitter.java
----------------------------------------------------------------------
diff --git a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/js/jx/SourceMapDirectiveEmitter.java b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/js/jx/SourceMapDirectiveEmitter.java
index 4bf158f..f25ff06 100644
--- a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/js/jx/SourceMapDirectiveEmitter.java
+++ b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/js/jx/SourceMapDirectiveEmitter.java
@@ -33,7 +33,6 @@ public class SourceMapDirectiveEmitter extends JSSubEmitter implements
{
private static final String SOURCE_MAP_PREFIX = "//# sourceMappingURL=./";
private static final String EXTENSION_JS = ".js";
- private static final String EXTENSION_MXML = ".mxml";
private static final String EXTENSION_MAP = ".map";
public SourceMapDirectiveEmitter(IJSEmitter emitter)
@@ -63,7 +62,7 @@ public class SourceMapDirectiveEmitter extends JSSubEmitter implements
if (node instanceof IMXMLDocumentNode)
{
IMXMLDocumentNode mxmlNode = (IMXMLDocumentNode) node;
- name = mxmlNode.getFileNode().getName() + EXTENSION_MXML;
+ name = mxmlNode.getFileNode().getName() + EXTENSION_JS;
}
writeNewline();
write(SOURCE_MAP_PREFIX + name + EXTENSION_MAP);