diff --git a/Rakefile b/Rakefile
index 3181f4c1..63e24bf8 100644
--- a/Rakefile
+++ b/Rakefile
@@ -2,7 +2,7 @@ require 'erb'
require 'fileutils'
require 'rake/testtask'
require 'rubygems'
-require 'closure-compiler'
+require 'yui/compressor'
desc "Build the documentation page"
task :doc do
@@ -25,7 +25,7 @@ desc "Build the single concatenated and minified script for the browser"
task :browser do
sources = %w(rewriter.js lexer.js parser.js scope.js nodes.js coffee-script.js)
code = sources.map {|s| File.read('lib/' + s) }.join('')
- code = Closure::Compiler.new.compile(code)
+ code = YUI::JavaScriptCompressor.new.compress(code)
File.open('extras/coffee-script.js', 'w+') {|f| f.write(code) }
end
diff --git a/documentation/index.html.erb b/documentation/index.html.erb
index 11a7610d..0f42da19 100644
--- a/documentation/index.html.erb
+++ b/documentation/index.html.erb
@@ -923,52 +923,44 @@ coffee --print app/scripts/*.coffee > concatenation.js
-
-
-
-
-
-
+
+
-
+
+
+