lib/hanami/helpers/assets_helper.rb in hanami-2.1.0 vs lib/hanami/helpers/assets_helper.rb in hanami-2.2.0.beta1
- old
+ new
@@ -79,11 +79,11 @@
# version of the relative URL.
#
# If the "CDN mode" is on, the `src` is an absolute URL of the
# application CDN.
#
- # If the "subresource integrity mode" is on, `integriy` is the
+ # If the "subresource integrity mode" is on, `integrity` is the
# name of the algorithm, then a hyphen, then the hash value of the file.
# If more than one algorithm is used, they"ll be separated by a space.
#
# @param source_paths [Array<String, #url>] one or more assets by name or absolute URL
#
@@ -183,11 +183,11 @@
# version of the relative URL.
#
# If the "CDN mode" is on, the `href` is an absolute URL of the
# application CDN.
#
- # If the "subresource integrity mode" is on, `integriy` is the
+ # If the "subresource integrity mode" is on, `integrity` is the
# name of the algorithm, then a hyphen, then the hashed value of the file.
# If more than one algorithm is used, they"ll be separated by a space.
#
# @param source_paths [Array<String, #url>] one or more assets by name or absolute URL
#
@@ -268,11 +268,11 @@
end
# Generate `img` tag for given source
#
# It accepts one string representing the name of the asset, if it comes
- # from the application or third party gems. It also accepts string
+ # from the application or third party gems. It also accepts strings
# representing absolute URLs in case of public CDN (eg. Bootstrap CDN).
#
# `alt` Attribute is auto generated from `src`.
# You can specify a different value, by passing the `:src` option.
#
@@ -410,11 +410,11 @@
end
# Generate `video` tag for given source
#
# It accepts one string representing the name of the asset, if it comes
- # from the application or third party gems. It also accepts string
+ # from the application or third party gems. It also accepts strings
# representing absolute URLs in case of public CDN (eg. Bootstrap CDN).
#
# Alternatively, it accepts a block that allows to specify one or more
# sources via the `source` tag.
#
@@ -512,10 +512,10 @@
end
# Generate `audio` tag for given source
#
# It accepts one string representing the name of the asset, if it comes
- # from the application or third party gems. It also accepts string
+ # from the application or third party gems. It also accepts strings
# representing absolute URLs in case of public CDN (eg. Bootstrap CDN).
#
# Alternatively, it accepts a block that allows to specify one or more
# sources via the `source` tag.
#