lib/barista/framework.rb in barista-1.0.0 vs lib/barista/framework.rb in barista-1.1.0.pre1
- old
+ new
@@ -18,11 +18,11 @@
def self.exposed_coffeescripts
all(true).inject([]) do |collection, fw|
collection + fw.exposed_coffeescripts
end.uniq.sort_by { |f| f.length }
end
-
+
def self.coffeescript_glob_paths
all(true).map { |fw| fw.coffeescript_glob_path }
end
def self.full_path_for(script)
@@ -63,10 +63,10 @@
end
def coffeescripts
Dir[coffeescript_glob_path]
end
-
+
def coffeescript_glob_path
@coffeescript_glob_path ||= File.join(@framework_root, "**", "*.coffee")
end
def short_name(script)