应用程序在Chrome和IE(11)中运行良好,但在Firefox(42.0)或Safari(5.1.7)中无效.
FIREFOX:
改变对象的[[Prototype]]会导致代码运行得非常慢; 而是使用Object.create es6-shim.js创建具有正确的初始[[Prototype]]值的对象:1338:11
Angular 2正在开发模式下运行.调用enableProdMode()以启用生产模式.angular2.dev.js:351:5
EXCEPTION:错误:期望int32作为第二个参数angular2.dev.js:23524
BrowserDomAdapter
SAFARI:
EXCEPTION: Error during instantiation of BrowserDetails! (Token Promise -> DynamicComponentLoader -> Compiler -> RuntimeCompiler -> ProtoViewFactory -> Renderer -> DomRenderer -> AnimationBuilder -> BrowserDetails).
angular2.dev.js:23514ORIGINAL EXCEPTION: TypeError: 'undefined' is not a function (evaluating 'window.requestAnimationFrame(callback)')
Potentially unhandled rejection [2] Error: EXCEPTION: Error during instantiation of BrowserDetails! (Token Promise -> DynamicComponentLoader -> Compiler -> RuntimeCompiler -> ProtoViewFactory -> Renderer -> DomRenderer -> AnimationBuilder -> BrowserDetails).
ORIGINAL EXCEPTION: TypeError: 'undefined' is not a function (evaluating 'window.requestAnimationFrame(callback)')
Error loading http://localhost:53861/app/bootDesktop.js
关于什么是错误的任何想法都非常感激.看起来它与"BrowserDomAdapter"有关.