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

简化 initAttrs 参数 #14

Closed
popomore opened this issue Apr 12, 2013 · 0 comments
Closed

简化 initAttrs 参数 #14

popomore opened this issue Apr 12, 2013 · 0 comments
Milestone

Comments

@popomore
Copy link
Member

现在 initAttrs 有两个参数 this.initAttrs(config, dataAttrsConfig),但 dataAttrsConfig 最后也是被 merge 到 config 的,所以我觉得第二个参数没有必要,完全可以外部处理完后再传入 config。

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