在FireFox中,"TypeError:$ .Tween是未定义的" [英] `TypeError: $.Tween is undefined` in FireFox

查看:75
本文介绍了在FireFox中,"TypeError:$ .Tween是未定义的"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Firefox中的此页面上收到此错误,但仅在某些情况下:

I get this error on this page in Firefox, but only sometimes:

TypeError: $.Tween is undefined

该页面在6个月内运行良好,我没有更改代码-但奇怪的是,该错误同时出现了.我尚未升级任何库.怎么会这样可能是浏览器出现问题,还是Google Maps API的更新版本?请注意,我仍在此处使用google maps api v2,因此google wrapper脚本在此处进行.

The page worked well for more than 6 month, I haven't changed the code - but strangely, the bug has appeared in the meantime. I have not upgraded any libraries. How can this happen? Can it be problem of the browser, or newer version of google maps api? Note that I still use google maps api v2 here, so the google wrapper script takes place here.

推荐答案

问题是您的jQuery包含了两次,

The problem is that you have jQuery included twice,

<script type="text/javascript" src="../lib/jquery/jquery-1.8.3.min_ts_1382746426.js"></script>
...
<script type="text/javascript" src="../lib/jquery/jquery-1.3.2.min_ts_1235084541.js"></script>

第二个较旧的版本将覆盖第一个较新的版本.

and the second, older version, overwrites the first, newer one.

这篇关于在FireFox中,"TypeError:$ .Tween是未定义的"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆