lib/depo/dijit_conventions.rb in depo-0.0.5 vs lib/depo/dijit_conventions.rb in depo-0.0.6
- old
+ new
@@ -50,10 +50,10 @@
prop :dijit_modules do
cmp.modules
end
def from_src(*args)
- File.join(*args.flatten.unshift(Depo.config.src_path))
+ File.join(*args.flatten.unshift(Depo.config.src_path).delete_if { |x| x.nil? || x.empty? })
end
def j(*args)
File.join(*args)
end