Skip to content

Commit

Permalink
Merge pull request #314 from 5minpause/5minpause-improve-code-comments
Browse files Browse the repository at this point in the history
Updates code comments in `directive_processor`
  • Loading branch information
schneems committed Jun 17, 2016
2 parents 26c090a + cca6d1c commit 0860f26
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/sprockets/directive_processor.rb
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 0860f26

Please sign in to comment.