mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-24 05:43:43 +00:00
work in progress
This commit is contained in:
parent
1b976dc27d
commit
fd72031e96
1 changed files with 3 additions and 3 deletions
2
Rakefile
2
Rakefile
|
|
@ -16,7 +16,7 @@ task :compileexterns do
|
||||||
file.close
|
file.close
|
||||||
|
|
||||||
out.write("function jQuery(){};\n")
|
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)
|
while (line = file.gets)
|
||||||
if line =~ /^\s*(\w+)\s*:\s*function.*$/
|
if line =~ /^\s*(\w+)\s*:\s*function.*$/
|
||||||
out.write("jQuery.#{$1}=function(){};\n")
|
out.write("jQuery.#{$1}=function(){};\n")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue