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

废除 .isPlainObject() API #19

Closed
2 tasks done
cssmagic opened this issue May 4, 2016 · 0 comments
Closed
2 tasks done

废除 .isPlainObject() API #19

cssmagic opened this issue May 4, 2016 · 0 comments
Milestone

Comments

@cssmagic
Copy link
Member

cssmagic commented May 4, 2016

背景

由于启用独立命名空间,把 jQuery/Zepto 的同名 API 复制过来没有意义。

鼓励用户在业务代码中使用 $.isPlainObject(),与本库无关。

需要做的

  • 更新源码,废除 .isPlainObject() API。
  • 对本库的源码以及依赖本库的项目(CMUI、Haojing)做一下清查,最终只保留上述两个 API。
  • 更新文档。
@cssmagic cssmagic modified the milestone: 0.6 May 5, 2016
@zpbx zpbx closed this as completed in 38c89a1 May 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant