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
templatable.js中compile方法建议 #34
Labels
Comments
感谢反馈,这个会在接下来的修改中修改掉 |
代码初始化的时候会将 template、model 等挂在 this 上,不会再操作 attrs 上的值了。 https://github.com/aralejs/widget/blob/1.0.3/src/widget.js#L25 可以这么操作
|
@popomore |
现在更新的方式是
这个我们内部讨论下再确定方案 |
@popomore ok~ |
准备去除 renderPartial ,新写法关注 #33 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
templatable.js中compile方法中下段代码
建议修改成下面的样子
原来的代码在
后在
_onChangeModel
调用model还是初始化时候的model
The text was updated successfully, but these errors were encountered: