未捕获类型错误: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.