From 19e0f116dac92a8721237e00fc465cda821094a1 Mon Sep 17 00:00:00 2001 From: Maxime Quandalle Date: Wed, 30 Jul 2014 18:30:31 +0200 Subject: [PATCH] Edit the `TemplateTag` comment The `BLOCKCOMMENT` type was introduced in f68fe75 --- packages/spacebars-compiler/templatetag.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/spacebars-compiler/templatetag.js b/packages/spacebars-compiler/templatetag.js index 3b0610b247..e3ff5a789e 100644 --- a/packages/spacebars-compiler/templatetag.js +++ b/packages/spacebars-compiler/templatetag.js @@ -7,6 +7,7 @@ SpacebarsCompiler = {}; // - `"DOUBLE"` - `{{foo}}` // - `"TRIPLE"` - `{{{foo}}}` // - `"COMMENT"` - `{{! foo}}` +// - `"BLOCKCOMMENT" - `{{!-- foo--}}` // - `"INCLUSION"` - `{{> foo}}` // - `"BLOCKOPEN"` - `{{#foo}}` // - `"BLOCKCLOSE"` - `{{/foo}}` @@ -24,7 +25,8 @@ SpacebarsCompiler = {}; // are `[["STRING", "bar"], ["NUMBER", 3, "x"]]`. Applies to DOUBLE, // TRIPLE, INCLUSION, and BLOCKOPEN. // -// - `value` - For COMMENT tags, a string of the comment's text. +// - `value` - A string of the comment's text. Applies to COMMENT and +// BLOCKCOMMENT. // // These additional are typically set during parsing: //