从jQuery 1.7.1迁移到jQuery 1.9.2
问题描述:
我已将jQuery 1.7.1替换为jQuery 1.9.2,并且我看到以下错误与我的一些自定义构建UI脚本和jQuery提供的UI库以及。以下是错误。从jQuery 1.7.1迁移到jQuery 1.9.2
而且我已经升级了jQuery UI库1.10.0
以下内容是我一直面临有更多的错误。
Uncaught TypeError: Cannot read property 'element' of undefined
'e.widget._close'
(anonymous function)
e.widget.close
(anonymous function)
'_on.blur'
u
b.event.dispatch
v.handle
Uncaught TypeError: Object [object Object] has no method 'menu'
cannot call methods on myCustomOverlay prior to initialization; attempted to call method 'isOpen'
是否有任何事情我必须注意?请指导我如何从1.7.1迁移到1.9.1
非常含糊,请提供代码。 – Dom 2013-02-20 19:37:12
你提到的错误听起来像你会从使用旧的(过时的)插件与jQuery 1.9 – 2013-02-20 19:38:02
1)您是否已经阅读了升级指南http://jquery.com/upgrade-guide/1.9/。 – dgvid 2013-02-20 19:38:09