Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

a bit of cleanup

  • Loading branch information...
commit 68808492e94b8b78e2c9b088a677849220522570 1 parent 1ae6545
@hofmeister authored
Showing with 0 additions and 8 deletions.
  1. +0 −8 src/main/java/com/vonhof/webi/file/JavascriptHandler.java
View
8 src/main/java/com/vonhof/webi/file/JavascriptHandler.java
@@ -16,12 +16,10 @@
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
-import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.logging.Level;
-import java.util.logging.Logger;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.commons.io.IOUtils;
@@ -35,8 +33,6 @@
private final static Pattern modulePattern = Pattern.compile("(?uis)^//@module\\s+([A-Z\\.\\-_][A-Z0-9\\.\\-_]+)(?:\\s+@prio ([0-9]+))?");
- private final CompilerOptions options = new CompilerOptions();
-
private final Charset charset = Charset.forName("UTF-8");
private final Map<String,String> sourceMaps = new HashMap<String, String>();
@@ -79,7 +75,6 @@ private void compiled(WebiContext req, List<File> files) throws IOException {
options.sourceMapDetailLevel = SourceMap.DetailLevel.ALL;
options.sourceMapOutputPath = sourceName+"?map";
- //options.setNameReferenceReportPath("./");
final ArrayList<SourceFile> externs = new ArrayList<SourceFile>();
final Map<String,JSModule> modules = new HashMap<String, JSModule>();
@@ -89,9 +84,6 @@ private void compiled(WebiContext req, List<File> files) throws IOException {
rootModule.add(SourceFile.fromCode("root.js", ""));
-
- //externs.add(SourceFile.fromCode("webbeans.js", "var $wb = {};var $cs = {};"));
-
final String baseDir = this.getDocumentRoot()+req.getPath();
final Map<String,String> dependencies = new HashMap<String, String>();

0 comments on commit 6880849

Please sign in to comment.
Something went wrong with that request. Please try again.