Skip to content

Conversation

Jinjiang
Copy link
Member

ref: de89293...a5ad66a
The main updates is guides/dom-events, api/wrapper/destroy and api/wrapper-array/destroy.
/ping @Justineo @fnlctrl
Thanks.

import sinon from 'sinon'

describe('点击事件', () => {
it('在 yes 按钮上点击会调用我们的方法并附带参数 "yes"', () => {
Copy link
Member

Choose a reason for hiding this comment

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

这个翻译么

Copy link
Member Author

Choose a reason for hiding this comment

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

其它几个页面的我都翻译了,也可以保留,翻译的时候确实有点纠结
Btw,我纠结的地方还不止这一处,可以待我稍后整理一下然后集中起来再讨论

@@ -46,15 +46,15 @@ npm install --save-dev jest-vue
"vue"
],
"transform": {
// 用 `jest-vue` 处理 `*.vue` 文件
".*\\.(vue)$": "<rootDir>/node_modules/jest-vue"
// 用 `vue-jest` 处理 `*.vue` 文件
Copy link
Member

Choose a reason for hiding this comment

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

这个 JSON 不合法耶……给原文提 issue 么?

Copy link
Member Author

Choose a reason for hiding this comment

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

恩,我来提一下好了

Copy link
Member

Choose a reason for hiding this comment

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

不过看了下别的地方还有不少这样的

Copy link
Member Author

Choose a reason for hiding this comment

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

我也发现了
@yyx990803 我留意到这部分英文文档正好是你提交的 f68e1ed 方便拿个主意吗?是否担心这会误导开发者在 package.json 里写 JS 注释导致出错?
谢谢

Copy link
Member

Choose a reason for hiding this comment

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

想想应该不太需要……连这个都搞不请估计也不会写测试

Copy link
Member

Choose a reason for hiding this comment

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

应该没关系,留着就行

@eddyerburgh
Copy link
Member

Hey guys, if a native speaker could confirm these changes I'll merge

@eddyerburgh eddyerburgh merged commit e81095c into vuejs:dev Nov 13, 2017
@Jinjiang Jinjiang deleted the zh-cn-a5ad66a branch November 13, 2017 17:39
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.

4 participants