From 206ce3373d8bb3b11cb8496ae4fc40d70bb626fe Mon Sep 17 00:00:00 2001 From: Earl St Sauver Date: Sat, 21 Nov 2015 20:26:28 -0800 Subject: [PATCH] docs: Change label of case to 'kebab' for attrs closes #399 The docs refer to `this-style-of-casing` as snake case, but it's actually "kebab case." Snake case looks `like_this_instead`. https://en.wikipedia.org/wiki/Letter_case#Special_case_styles --- public/docs/ts/latest/guide/template-syntax.jade | 6 +++--- public/docs/ts/latest/guide/user-input.jade | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/public/docs/ts/latest/guide/template-syntax.jade b/public/docs/ts/latest/guide/template-syntax.jade index a563a8545f..8ef4b56a96 100644 --- a/public/docs/ts/latest/guide/template-syntax.jade +++ b/public/docs/ts/latest/guide/template-syntax.jade @@ -372,10 +372,10 @@ code-example(format="", language="html"). :marked Notice that it forced mixed-case ""text**C**ontent" to lowercase "text**c**ontent". - The solution is to write the target property name in “**lower snake case**”, + The solution is to write the target property name in “**lower kebab case**”, with a dash before each uppercase letter. We can correct the example as follows: ``` - +