angularjs - Uncaught TypeError : X[g]. exec 不是函数 f

从今天开始,我收到如下错误:

未捕获的类型错误: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 应用程序。 依赖项是:

  • http://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/css/toastr.min.css以及相应的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 Sizzle 找不到 [alert-dismiss]"。 fb 是 JQuery 的缩小版本中的 Sizzle。

最佳答案

我有同样的 X[g].exec is not a function 错误,在我的例子中,这是因为我定义了一个 Object.prototype.count 函数。

关于angularjs - Uncaught TypeError : X[g]. exec 不是函数 fb tokenize,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29900018/

相关文章:

haskell - Haskell 中带有 zipWith3 的 sum3

c# - 在 C# 中声明泛型静态方法

javascript - 在javascript中以毫秒为单位获取当前的unix时间

vue.js - 无法使用 vue-html2pdf 将 HTML 代码转换为 PDF

typescript - 导入 *.svg 模块引发 Typescript 错误 : "Cannot

java - 使用 nextInt() 方法后使用 nextLine() 方法

scala - 计算一行的秩

nuxt.js - Nuxt : Difference nuxtServerInit vs Mddl

clojure - 如何比较向量中连续元素的值以进行过滤?

javascript - 非重复字符的最长子串javascript