Skip to content

Commit

Permalink
Updates code comments in directive_processor
Browse files Browse the repository at this point in the history
There were some typos, which are fixed with this commit.
  • Loading branch information
5minpause committed Jun 16, 2016
1 parent 26c090a commit cca6d1c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/sprockets/directive_processor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def process_directives(directives)

# The `require` directive functions similar to Ruby's own `require`.
# It provides a way to declare a dependency on a file in your path
# and ensures its only loaded once before the source file.
# and ensures it's only loaded once before the source file.
#
# `require` works with files in the environment path:
#
Expand Down Expand Up @@ -266,8 +266,8 @@ def process_depend_on_directive(path)
# it.
#
# This is used for caching purposes. Any changes that would
# invalid the asset dependency will invalidate the cache our the
# source file.
# invalidate the asset dependency will invalidate the cache of
# the source file.
#
# Unlike `depend_on`, the path must be a requirable asset.
#
Expand Down Expand Up @@ -308,7 +308,7 @@ def process_link_directive(path)
# //= link_directory "./fonts"
#
# Use caution when linking against JS or CSS assets. Include an explicit
# extension or content type in these cases
# extension or content type in these cases.
#
# //= link_directory "./scripts" .js
#
Expand All @@ -324,7 +324,7 @@ def process_link_directory_directive(path = ".", accept = nil)
# //= link_tree "./images"
#
# Use caution when linking against JS or CSS assets. Include an explicit
# extension or content type in these cases
# extension or content type in these cases.
#
# //= link_tree "./styles" .css
#
Expand Down

0 comments on commit cca6d1c

Please sign in to comment.