js2 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/Changelog +3 -0
- data/lib/js2/process/file_handler.rb +1 -1
- data/lib/js2.rb +1 -1
- metadata +1 -1
data/Changelog
CHANGED
@@ -53,7 +53,7 @@ class JS2::Process::FileHandler
|
|
53
53
|
to_write = filename.sub(/^#{@read_dir}/, @write_dir).sub(/\.js2$/, '.comp.js')
|
54
54
|
str = ""
|
55
55
|
|
56
|
-
compilation.each do |f|
|
56
|
+
compilation.uniq.each do |f|
|
57
57
|
read_file = f.sub(/^#{@read_dir}/, @write_dir).sub(/\.js2$/, '.js')
|
58
58
|
str << File.read(read_file) + "\n"
|
59
59
|
end
|
data/lib/js2.rb
CHANGED