neorails-view_fu 0.2.20080705 → 0.3.20080705
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/javascripter/helper.rb +2 -2
- data/lib/styler/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 javascript
|
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 javascript
|
28
|
+
return javascript(result)
|
29
29
|
end
|
30
30
|
end
|
31
31
|
|
data/lib/styler/helper.rb
CHANGED
@@ -14,13 +14,13 @@ module Styler
|
|
14
14
|
# returns an entire directory of stylesheets recursively
|
15
15
|
def stylesheet_folder(path)
|
16
16
|
if use_cache? # or browser_is? :ie
|
17
|
-
return stylesheet
|
17
|
+
return stylesheet("min/#{path}.css")
|
18
18
|
else
|
19
19
|
result = []
|
20
20
|
Dir["#{Rails.public_path}/stylesheets/#{path}/**/*.css"].each do |css|
|
21
21
|
result << css.gsub("#{Rails.public_path}/stylesheets/", "")
|
22
22
|
end
|
23
|
-
return stylesheet
|
23
|
+
return stylesheet(result)
|
24
24
|
end
|
25
25
|
end
|
26
26
|
|
data/view_fu.gemspec
CHANGED