Skip to content
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

Closed
wants to merge 8 commits into from
Closed

Conversation

ice-zjchen
Copy link
Collaborator

one of #65

@andycall andycall mentioned this pull request Dec 3, 2018
54 tasks
@@ -31,11 +31,11 @@ san.defineComponent({
});
```

上面的例子中,isHidden 数据为真时,ul 具有 list-hiddenclass,为假时不具有。
In the above example, when the isHidden is `true`, ul has `list-hidden` class, which does not exist when isHidden is `false`.
Copy link
Collaborator

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.
Copy link
Collaborator

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
这东西应该是个名词

Copy link
Collaborator

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.
Copy link
Collaborator

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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unitary -> unary

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

下同

@ice-zjchen
Copy link
Collaborator Author

本pr提交姿势有误(通过fork的master分支提的),造成冲突

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants