angularjs - For my Angular 2 app in Safari my app doesn't show, just has a blue screen -


for angular 2 app in safari app doesn't show, has blue screen

my app works fine in firefox, chrome , ie.

i error in console new safari script fix es6:

refused execute script 'https://gist.githubusercontent.com/paulirish/1579671/raw/682e5c880c92b445650c4880a6bf9f3897ec1c5b/raf.js' because mime type ('text/plain') not executable, , strict mime type checking enabled.

this es6 script version:

  <script src="https://cdnjs.cloudflare.com/ajax/libs/es6-shim/0.34.2/es6-shim.min.js"></script>  

this error see in console safari?

enter image description here

could es6 javascript error?

seems need add polyfill https://gist.github.com/paulirish/1579671
see angular2 app works in chrome , ie, not firefox or safari


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -