Mootools 的向后兼容性有多好?
我的一位同事对 Mootools 向后兼容有疑问,我想知道其他人是否注意到了这一点? 他说他的主要问题是在尝试使用旧版本中提供的拖放功能时。 我自己从来没有真正研究过它,但是当我在向 JQuery 提出同样的问题时提到它时,其他人似乎没有遇到同样的问题。
那么 Stackoverflow 你有没有注意到 Mootools 向后兼容性的问题?
A coworker of mine has had issue with Mootools being backward compatible and I was wondering if anyone else had noticed this? He said that his main problem was when trying to using the drag and drop functionality offered in an older version. I never really looked into it myself, but when I mentioned it when asking the same question for JQuery others did not seem to have the same problem.
So Stackoverflow have you ever noticed an issue with Mootools backward compatibility?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Mootools 1.2 不完全向后兼容 Mootools 1.11。 您可以在 Mootools Wiki,我还找到了Siafoo关于升级到1.2的文章在过去非常有用。
升级旧脚本通常是查找已弃用的方法引用并将其替换为新的方法引用; 很简单,只是轻微的疼痛。
Mootools 1.2 is not fully backward compatible with Mootools 1.11. You can find some information about what's changed in the Mootools Wiki and I've also found Siafoo's article about upgrading to 1.2 very useful in the past.
Upgrading older scripts is generally a matter of finding deprecated method references and replacing them with new ones; easy, just a minor pain.