neorails-view_fu 0.1.20080705 → 0.2.20080705
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/javascripter/helper.rb +2 -2
- data/view_fu.gemspec +1 -1
- metadata +1 -1
data/lib/javascripter/helper.rb
CHANGED
@@ -19,13 +19,13 @@ module Javascripter
|
|
19
19
|
# returns an entire directory of javascripts recursively
|
20
20
|
def javascript_folder(path)
|
21
21
|
if use_cache?
|
22
|
-
return
|
22
|
+
return javascript "min/#{path}.js"
|
23
23
|
else
|
24
24
|
result = []
|
25
25
|
Dir["#{Rails.public_path}/javascripts/#{path}/**/*.js"].each do |item|
|
26
26
|
result << item.gsub("#{Rails.public_path}/javascripts/", "")
|
27
27
|
end
|
28
|
-
return
|
28
|
+
return javascript result
|
29
29
|
end
|
30
30
|
end
|
31
31
|
|
data/view_fu.gemspec
CHANGED