문제

Or how do I tell Firefox to parse a web worker extension with mimetype application/javascript;version=1.7?

Firebug 1.7a9 in Firefox 4 Beta 9 gives:

missing ; before statement
[Break On This Error] yield k;

which is what it says when it doesn't recognize the generator yield keyword in a regular script tag.

도움이 되었습니까?

해결책

You need to serve the file with that HTTP header. What server are you running?

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top