diff --git a/README.markdown b/README.markdown index 056c7e0..b8adfe6 100644 --- a/README.markdown +++ b/README.markdown @@ -1,10 +1,10 @@ # JCoffeeScript -JCoffeeScript is a java library that compiles CoffeeScript 1.1. +JCoffeeScript is a java library that compiles CoffeeScript 1.3.3. ### Usage from the command prompt: -> echo "a = 1" | java -jar jcoffeescript-1.1.jar +> echo "a = 1" | java -jar jcoffeescript-1.3.3.jar
       (function() {
           var a;
@@ -13,7 +13,7 @@ from the command prompt:
 
####Command Line (unix/windows): -> java -jar jcoffeescript-1.1.jar < foo.coffee > foo.js +> java -jar jcoffeescript-1.3.3.jar < foo.coffee > foo.js ####command line options: > __--bare__ - compile the javascript without top-level function safety wrapper. diff --git a/build.xml b/build.xml index b913a4d..77d062e 100644 --- a/build.xml +++ b/build.xml @@ -20,7 +20,7 @@ - + diff --git a/src/main/java/org/jcoffeescript/JCoffeeScriptCompiler.java b/src/main/java/org/jcoffeescript/JCoffeeScriptCompiler.java index 627ed47..680fa8c 100644 --- a/src/main/java/org/jcoffeescript/JCoffeeScriptCompiler.java +++ b/src/main/java/org/jcoffeescript/JCoffeeScriptCompiler.java @@ -25,19 +25,12 @@ import java.io.InputStreamReader; import java.io.Reader; import java.io.UnsupportedEncodingException; -import java.util.Collection; -import java.util.Collections; public class JCoffeeScriptCompiler { private final Scriptable globalScope; - private final Options options; - public JCoffeeScriptCompiler() { - this(Collections.