Sorry if this is actual duplicate but I haven't managed to find answer for my problem.
I load the script with jQuery's $.getScript. But it causes the following error:
Resource interpreted as script but transferred with MIME type text/html.
The problem appears only in Safari under Mac OS
If to look on headers received from the server, they contain Content-Type:application/x-javascript
, so I really don't understand what the problem is.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…