問題描述
我們遇到了 Mootools 不能向后兼容的問題,特別是在拖放功能方面.我想知道是否有人對 jQuery 不向后兼容有任何類似的問題.我們開始大量使用它,并正在考慮升級到更新版本以開始使用幾個需要它的插件.如果我們擺脫舊版本,我們會有什么問題嗎?
We have had issues with Mootools not being very backward compatible specifically in the area of drag and drop functionality. I was wondering if anyone has had any similar problems with jQuery not being backward compatible. We are starting to use it quite heavily and are thinking about upgrading to a newer version to start using several plugins that require it. Will we have any issues if we get rid of the older version?
推薦答案
jQuery 似乎很好地向后兼容.我已經通過幾個版本的核心使用它超過幾年了,并且在升級時沒有遇到問題,除了一些帶有一些插件的小問題.我會說核心似乎很好,但如果你使用很多插件,你可能會遇到一些問題(但這些通常很容易修復,或者新核心無論如何都內置了該功能,所以你可以放棄他們).
jQuery seems to be nicely backward compatible. I have been using it for more than a couple of years now through several versions of the core and have not had issues when upgrading except a few minor ones with some plugins. I would say that the core seems to be fine but if you're using a lot of plugins you might run into some problems (but these are usually easy to fix, or the new core has that functionality built in anyway so you can just drop them).
這篇關于jQuery 對向后兼容性的支持如何?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!