1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00

switching to YUI compressor for the time being... ticket #575

This commit is contained in:
Jeremy Ashkenas 2010-10-11 08:40:15 -04:00
parent 42d39d59dd
commit de0b93381c
2 changed files with 3 additions and 412 deletions

View file

@ -2,7 +2,7 @@ require 'erb'
require 'fileutils'
require 'rake/testtask'
require 'rubygems'
require 'closure-compiler'
require 'yui/compressor'
HEADER = <<-EOS
/**
@ -42,7 +42,7 @@ task :browser do
}
JS
end
code = Closure::Compiler.new.compress(<<-"JS")
code = YUI::JavaScriptCompressor.new.compress(<<-"JS")
this.CoffeeScript = function(){
function require(path){ return require[path] }
#{ code }

File diff suppressed because one or more lines are too long