如果我将 jQuery 1.3 迁移/升级到 1.5,我的网站会崩溃吗?
目前我正在使用 jQuery 1.3.2。我想将其迁移/升级到 jQuery 1.5?
我也在使用一些插件。我怎样才能确保它不会破裂。 我不知道如果升级到 jQuery 1.5,它会在哪里崩溃。请让我知道您对此的评论。
Currently i am using jQuery 1.3.2. i would like to migrate/upgrade the same to jQuery 1.5?
I am using some of the plugging as well. How can i make sure that it wouldn't break.
I don't where it would break if upgrade to jQuery 1.5. Please let me know your comments on this.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
它可能会崩溃,因为这些升级之间进行了很多更改。
解决方案:
然后最终在测试服务器上验证该站点。
这是了解它的唯一完整证明方法。
Possibly it shall break because lots of changes are been done between these upgrades.
Solution:
Then eventually verify the site at TEST server.
This is the only full proof way to know it.
您可以在本地或临时服务器上运行您的网站吗?理想的情况是您使用较新版本的 jQuery 运行网站的本地/暂存版本,然后对其进行彻底测试并修复在将更新应用到网站的实时版本之前发现的任何错误。
至于升级是否会导致问题,我的经验表明答案是可能的。
Can you run your website locally or on a staging server? The ideal scenario is you run a local/staged version of your website with the newer version of jQuery, and then thoroughly test it and fix any bugs that you find before applying the update to the live version of the site.
As to whether or not upgrading will cause things to break, my experience says that the answer is probably.