ok, there's a little bit that can be cached
This commit is contained in:
parent
d0afb329f1
commit
2672550bbd
@ -40,6 +40,8 @@ module Jasmine
|
||||
coffeescript_run = []
|
||||
|
||||
files.collect { |file|
|
||||
next @code_for_file[file] if @code_for_file[file]
|
||||
|
||||
coffeescript_run << file if (ext = File.extname(file)) == '.coffee'
|
||||
|
||||
output = []
|
||||
@ -56,6 +58,8 @@ module Jasmine
|
||||
end
|
||||
end
|
||||
|
||||
@code_for_file[file] = output if output.length == 1
|
||||
|
||||
output
|
||||
}.flatten.reject(&:empty?)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user