Fixed minor typos in inline documentation for assign and capture

This commit is contained in:
Dennis Theisen
2010-06-09 19:49:55 +08:00
committed by Tobias Lütke
parent 0417c9e723
commit e26f509277
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ module Liquid
#
# You can then use the variable later in the page.
#
# {{ monkey }}
# {{ foo }}
#
class Assign < Tag
Syntax = /(#{VariableSignature}+)\s*=\s*(#{QuotedFragment}+)/

View File

@@ -6,7 +6,7 @@ module Liquid
# Monkeys!
# {% endcapture %}
# ...
# <h1>{{ monkeys }}</h1>
# <h1>{{ heading }}</h1>
#
# Capture is useful for saving content for use later in your template, such as
# in a sidebar or footer.