aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMisko Hevery2010-03-24 12:08:09 -0700
committerMisko Hevery2010-03-24 12:08:09 -0700
commitfd72031e9626b574a4459747c2e0261f69102364 (patch)
tree5afc73b67908e38479e55cb44a3cb60a3cc1854b
parent1b976dc27d022c681d764d51a70a1af6a7e35dd6 (diff)
downloadangular.js-fd72031e9626b574a4459747c2e0261f69102364.tar.bz2
work in progress
-rw-r--r--Rakefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Rakefile b/Rakefile
index 5e0bf008..a5edf04f 100644
--- a/Rakefile
+++ b/Rakefile
@@ -9,16 +9,16 @@ task :compileexterns do
out.write("function _(){};\n")
file = File.new("lib/underscore/underscore.js", "r")
while (line = file.gets)
- if line =~ /^\s*_\.(\w+)\s*=.*$/
+ 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.3.2.js", "r")
+ file = File.new("lib/jquery/jquery-1.4.2.js", "r")
while (line = file.gets)
- if line =~ /^\s*(\w+)\s*:\s*function.*$/
+ if line =~ /^\s*(\w+)\s*:\s*function.*$/
out.write("jQuery.#{$1}=function(){};\n")
end
end