lib/roda/plugins/assets.rb in roda-2.14.0 vs lib/roda/plugins/assets.rb in roda-2.15.0
- old
+ new
@@ -8,11 +8,11 @@
# to a single, compressed file in production.
#
# This uses the render plugin for rendering the assets, and the render
# plugin uses tilt internally, so you can use any template engine
# supported by tilt for your assets. Tilt ships with support for
- # the following asset template engines, assuming the necessary libaries
+ # the following asset template engines, assuming the necessary libraries
# are installed:
#
# css :: Less, Sass, Scss
# js :: CoffeeScript
#
@@ -75,20 +75,20 @@
# This expects the following directory structure for your assets:
#
# assets/css/frontend/some_frontend_file.scss
# assets/css/backend/some_backend_file.scss
#
- # If you want do not want to force that directory structure when using
+ # If you do not want to force that directory structure when using
# asset groups, you can use the <tt>:group_subdirs => false</tt> option.
#
# In your view code use an array argument in your call to assets:
#
# <%= assets([:css, :frontend]) %>
#
# === Nesting
#
- # Asset groups also supporting nesting, though that should only be needed
+ # Asset groups also support nesting, though that should only be needed
# in fairly large applications. You can use a nested hash when loading
# the plugin:
#
# plugin :assets,
# :css => {:frontend => {:dashboard => 'some_frontend_file.scss'}}
@@ -219,10 +219,10 @@
# :compiled_js_dir :: Directory name in which to store the compiled javascript file,
# inside :compiled_path (default: nil)
# :compiled_js_route :: Route under :prefix for compiled javscript assets (default: :compiled_js_dir)
# :compiled_name :: Compiled file name prefix (default: 'app')
# :compiled_path:: Path inside public folder in which compiled files are stored (default: :prefix)
- # :concat_only :: Whether to just concatenate instead of concatentating
+ # :concat_only :: Whether to just concatenate instead of concatenating
# and compressing files (default: false)
# :css_compressor :: Compressor to use for compressing CSS, either :yui, :none, or nil (the default, which will try
# :yui if available, but not fail if it is not available)
# :css_dir :: Directory name containing your css source, inside :path (default: 'css')
# :css_headers :: A hash of additional headers for your rendered css files