开发者

Can I use the Javascript 1.7+ iterators and generators inside a Firefox web worker?

开发者 https://www.devze.com 2023-02-07 08:26 出处:网络
Or how do I tell Firefox to parse a web worker extension with mimetype application/javascript;version=1.7?

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: 开发者_JS百科

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?

0

精彩评论

暂无评论...
验证码 换一张
取 消