当我将AngularJS的版本从1.3.0-rc.4更改为1.3.0时,我在控制台中收到了这些错误。我知道堆栈跟踪不是很有帮助,因为库是连接的,但问题似乎发生在angular.js本身。
有任何线索吗?
TypeError: undefined is not a function
at http://localhost:3000/index/vendorBundle.js:36891:34
at forEach (http://localhost:3000/index/vendorBundle.js:11114:20)
at resolveElementClasses (http://localhost:3000/index/vendorBundle.js:36890:9)
at http://localhost:3000/index/vendorBundle.js:37416:27
at http://localhost:3000/index/vendorBundle.js:36857:22
at Scope.$digest (http://localhost:3000/index/vendorBundle.js:24762:36)
at Scope.$apply (http://localhost:3000/index/vendorBundle.js:24974:24)
at bootstrapApply (http://localhost:3000/index/vendorBundle.js:12227:15)
at Object.invoke (http://localhost:3000/index/vendorBundle.js:14891:17)
at doBootstrap (http://localhost:3000/index/vendorBundle.js:12225:14)
答案 0 :(得分:0)
angular-animate尚未更新至1.3.0。它仍然在1.3.0-rc.4,导致了这个问题。