From 27868f17ded5e668aad17739cecd228dc3c87219 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Thu, 23 Sep 2010 13:53:38 +0200 Subject: cleanup underscore.js form rakefile --- Rakefile | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index 1af9e303..bf5caaee 100644 --- a/Rakefile +++ b/Rakefile @@ -6,15 +6,6 @@ desc 'Generate Externs' task :compile_externs do out = File.new("externs.js", "w") - out.write("function _(){};\n") - file = File.new("lib/underscore/underscore.js", "r") - while (line = file.gets) - if line =~ /^\s*_\.(\w+)\s*=.*$/ - out.write("_.#{$1}=function(){};\n") - end - end - file.close - out.write("function jQuery(){};\n") file = File.new("lib/jquery/jquery-1.4.2.js", "r") while (line = file.gets) @@ -32,7 +23,6 @@ end desc 'Compile Scenario' task :compile_scenario do concat = %x(cat \ - lib/underscore/underscore.js \ lib/jquery/jquery-1.4.2.js \ src/scenario/angular.prefix \ src/Angular.js \ -- cgit v1.2.3