未捕获类型错误:X [G] .exec不是一个函数记号化FB [英] Uncaught TypeError: X[g].exec is not a function fb tokenize

查看:1761
本文介绍了未捕获类型错误:X [G] .exec不是一个函数记号化FB的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从今天起如下我得到一个错误:

Since today I am getting an error as follows:

未捕获类型错误:X [G] .exec不是一个函数记号化FB

这是堆栈跟踪:

未捕获类型错误:X [G] .exec不是一个函数
 fb.tokenize @ jquery.min.js:2
 fb.compile @ jquery.min.js:2
 fb.select @ jquery.min.js:2
 FB @ jquery.min.js:2
 m.event.handlers @ jquery.min.js:3
 m.event.dispatch @ jquery.min.js:3
 r.handle @ jquery.min.js:3

该项目是一个建立在.NET MVC区的Angularjs应用程序。
依赖是:

The project is an Angularjs app built in an .NET MVC Area. Dependencies are:

  • http://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/css/toastr.min.css and corresponding js
  • https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js
  • /Resources/Libs/AngularJS/Libs/angular-file-upload-shim.min.js
  • /Resources/Libs/AngularJS/Libs/bootstrap.min.js/Resources/Libs/AngularJS/Libs/wysihtml5-0.3.0.min.js
  • /Resources/Libs/AngularJS/Libs/bootstrap3-wysihtml5.js
  • http://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/js/toastr.js"

似乎是与Bootstrap.js文件,其中应该警报被开除,但没有发现有问题。 JQuery的灒找不到[警报的解雇]
在FB中的jQuery minified的版本灒。

Seems to be a problem with Bootstrap.js file, where an alert is supposed to be dismissed but not found. JQuery Sizzle can't find "[alert-dismiss]". The fb is Sizzle in minified version of JQuery.

推荐答案

我找到了罪魁祸首。

似乎有与bootstrap.js的组合和角引导UI库的力的扰动。去除不必要的bootstrap.js后一切都很好。

Seems there was a disturbance in the force with the combination of bootstrap.js and the angular bootstrap ui library. After removing the unnecessary bootstrap.js all was well.

这篇关于未捕获类型错误:X [G] .exec不是一个函数记号化FB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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