-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
translate tutorial/template #93
Conversation
@@ -31,11 +31,11 @@ san.defineComponent({ | |||
}); | |||
``` | |||
|
|||
上面的例子中,isHidden 数据为真时,ul 具有 list-hidden 的 class,为假时不具有。 | |||
In the above example, when the isHidden is `true`, ul has `list-hidden` class, which does not exist when isHidden is `false`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
when the isHidden is true
, ul has list-hidden
class, which does not exist when isHidden is false
.
list-hidden
class appears when isHidden
is true
, otherwise it is omitted
|
||
``` | ||
{{ expr [[| filter-call1] | filter-call2...] }} | ||
``` | ||
|
||
|
||
在文本内容区域我们可以使用插值替换。 | ||
In the text content area, we can use interpolation to replace. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
interpolation to replace -> interpolation replacement
这东西应该是个名词
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
下面有若干处这个问题
------ | ||
|
||
有时候我们希望输出原封不动的 HTML,不希望经过 HTML 转义。在 San 里有两种方式可以做到。 | ||
Sometimes we want to output real HTML not be escaped. There are two ways to do this in San. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
output real HTML not be escaped -> output unescaped HTML
- 对象字面量 `>= 3.5.9` | ||
- 方法调用 `>= 3.6.11` | ||
- data access(primitive type and property accessor exprssion) | ||
- unitary NOT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unitary -> unary
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
下同
本pr提交姿势有误(通过fork的master分支提的),造成冲突 |
one of #65