lib/minjs/minjs_compressor.rb in minjs-0.1.10 vs lib/minjs/minjs_compressor.rb in minjs-0.2.0

- old
+ new

@@ -31,10 +31,10 @@ tmp = open(file, "w") tmp.write(data) tmp.close end #TODO - t = Minjs::Compressor.new(:logger => logger).compress(data) + t = Minjs::Compressor.new(:logger => logger).compress(data).to_js if logger.info? tmp = open(output, "w") tmp.write(t) tmp.close end