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
KISSY1.4.2的merge方法串改了初始对象的prototype #575
Comments
ianli-sc
pushed a commit
to ianli-sc/kissy
that referenced
this issue
Mar 6, 2014
ianli-sc
pushed a commit
to ianli-sc/kissy
that referenced
this issue
Mar 6, 2014
ianli-sc
pushed a commit
to ianli-sc/kissy
that referenced
this issue
Mar 6, 2014
Closed
merge 参数必须是普通对象,不支持自定义对象,用于配置对象合并等用途,不是这么用的 |
从文档中没有看出说是普通对象。 |
S.mix(xx,{ |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在1.3.0版本我某个页面大量的使用了如下方法
当我升级到1.4.1的时候,item.css报错undefined。
发现S.merge变成了向空对象内S.mix进入目标对象。而mix方法本身是不会修个prototype的,问题发生在使用空对象上
The text was updated successfully, but these errors were encountered: