exe/minjs in minjs-0.3.0 vs exe/minjs in minjs-0.4.0

- old
+ new

@@ -1,8 +1,9 @@ #!/usr/bin/env ruby require 'minjs' +require 'minjs/compressor/compressor' argv = ARGV.dup f = [] options = {} argv.each do |x| @@ -15,8 +16,8 @@ else f.push(open(x.to_s).read()) end end -prog = Minjs::Compressor.new(:debug => false) +prog = Minjs::Compressor::Compressor.new(:debug => false) prog.compress(f.join("\n"), options) puts prog.to_js(options)