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

增加对小程序新增的component.observers的支持 #40

Merged
merged 5 commits into from
May 17, 2019

Conversation

strange-fish
Copy link
Contributor

@strange-fish strange-fish commented May 17, 2019

observers的功能需要在小程序的环境才能测试?想不到更好的方法。
相关链接:component的observers

@imyelo
Copy link
Member

imyelo commented May 17, 2019

observers的功能需要在小程序的环境才能测试?想不到更好的方法。
相关链接:component的observers

嗯没有很好的办法,目前是这么操作的:

  • 手动验证:在小程序环境里实际运行项目,例如 示例项目
  • 自动测试:在 helpers/mina-sandbox 里模拟小程序环境的行为,只关注有没有正确传入 / 触发小程序环境的 API

@strange-fish
Copy link
Contributor Author

在项目里面跑了一下,可以正常使用。

@imyelo imyelo merged commit 66d2744 into tinajs:master May 17, 2019
@imyelo
Copy link
Member

imyelo commented May 17, 2019

谢谢~

@imyelo
Copy link
Member

imyelo commented May 17, 2019

v1.7.0 released

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.

2 participants