flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joshtynj...@apache.org
Subject [01/33] git commit: [flex-falcon] [refs/heads/develop] - JSConfiguration: added --source-map argument, and it defaults to false
Date Tue, 05 Apr 2016 23:56:19 GMT
Repository: flex-falcon
Updated Branches:
  refs/heads/develop 0c394f175 -> 6613895d1


JSConfiguration: added --source-map argument, and it defaults to false


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

Branch: refs/heads/develop
Commit: f053f214d93f5ee0dba903bc6bfb878fda784ae3
Parents: 40e0fbd
Author: Josh Tynjala <joshtynjala@apache.org>
Authored: Sun Mar 20 15:16:02 2016 -0700
Committer: Josh Tynjala <joshtynjala@apache.org>
Committed: Sun Mar 20 15:16:02 2016 -0700

----------------------------------------------------------------------
 .../flex/compiler/clients/JSConfiguration.java   | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/f053f214/compiler.jx/src/org/apache/flex/compiler/clients/JSConfiguration.java
----------------------------------------------------------------------
diff --git a/compiler.jx/src/org/apache/flex/compiler/clients/JSConfiguration.java b/compiler.jx/src/org/apache/flex/compiler/clients/JSConfiguration.java
index e15101c..3ce8665 100644
--- a/compiler.jx/src/org/apache/flex/compiler/clients/JSConfiguration.java
+++ b/compiler.jx/src/org/apache/flex/compiler/clients/JSConfiguration.java
@@ -61,4 +61,23 @@ public class JSConfiguration extends Configuration
         jsOutputType = value;
     }
 
+    //
+    // 'source-map'
+    //
+
+    private boolean sourceMap = false;
+
+    public boolean getSourceMap()
+    {
+        return sourceMap;
+    }
+
+    @Config
+    @Mapping("source-map")
+    public void setSourceMap(ConfigurationValue cv, boolean value)
+            throws ConfigurationException
+    {
+        sourceMap = value;
+    }
+
 }


Mime
View raw message