Skip to content

docs: add spaces between chinese and english words #1056

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

Merged
merged 1 commit into from
Feb 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/v2/api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ type: api

- **用法**:

将一个模板字符串编译成render函数。**只在完整版时可用**。
将一个模板字符串编译成 render 函数。**只在完整版时可用**。

``` js
var res = Vue.compile('<div><span>{{ msg }}</span></div>')
Expand Down
2 changes: 1 addition & 1 deletion src/v2/cookbook/creating-custom-scroll-directives.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ Vue 为指令提供了丰富的选项,覆盖了绝大多数的常见用例,

**这个示例最好在[全屏模式](https://s.codepen.io/sdras/debug/078c19f5b3ed7f7d28584da450296cd0)下浏览。**

<p data-height="500" data-theme-id="5162" data-slug-hash="c8c55e3e0bba997350551dd747119100" data-default-tab="result" data-user="sdras" data-embed-version="2" data-pen-title="Scrolling Example- Using Custom Directives in Vue" class="codepen">在 <a href="https://codepen.io">CodePen</a> 查看 Sarah Drasner (<a href="https://codepen.io/sdras">@sdras</a>) 的 <a href="https://codepen.io/sdras/pen/c8c55e3e0bba997350551dd747119100/">滚动示例 - 在Vue中使用自定义指令</a。></p>
<p data-height="500" data-theme-id="5162" data-slug-hash="c8c55e3e0bba997350551dd747119100" data-default-tab="result" data-user="sdras" data-embed-version="2" data-pen-title="Scrolling Example- Using Custom Directives in Vue" class="codepen">在 <a href="https://codepen.io">CodePen</a> 查看 Sarah Drasner (<a href="https://codepen.io/sdras">@sdras</a>) 的 <a href="https://codepen.io/sdras/pen/c8c55e3e0bba997350551dd747119100/">滚动示例 - 在 Vue 中使用自定义指令</a。></p>
<script async src="https://static.codepen.io/assets/embed/ei.js"></script>

在上述 demo 中,每个章节都有两个由滚动触发的不同类型的动画开关:一个渐变动画和一个动态改变 SVG 独立路径的动画。我们想要复用这两种动画,因此可以为每种动画各创建一个自定义指令。传入的参数将会帮助我们让一切都简单可复用。
Expand Down
2 changes: 1 addition & 1 deletion src/v2/guide/typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const Component = Vue.extend({

const Component = {
// 这里不会有类型推断,
// 因为TypeScript不能确认这是Vue组件的选项
// 因为 TypeScript 不能确认这是 Vue 组件的选项
}
```

Expand Down
2 changes: 1 addition & 1 deletion themes/vue/layout/partials/ad-pagetop.ejs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="ad-pagetop">
<a href="http://www.tp-shop.cn/index.php?http_referer=vuejs" target="_blank" rel="noopener noreferrer">
<span class="name">TPshop</span>
<span class="description">中国免费商城系统 - 搜豹商城系统 - 免费50小时Vue视频教程</span>
<span class="description">中国免费商城系统 - 搜豹商城系统 - 免费50小时 Vue 视频教程</span>
<span class="action">立即查看 &gt;</span>
</a>
</div>