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:
parent
42d39d59dd
commit
de0b93381c
2 changed files with 3 additions and 412 deletions
4
Rakefile
4
Rakefile
|
@ -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
Loading…
Reference in a new issue