0

Following is an extract from Requirejs documentation :

Ideally RequireJS could load CSS files as dependencies. However, there are issues knowing when a CSS file has been loaded, particularly in Gecko/Firefox when the file is loaded from another domain. Some history can be found in this Dojo ticket.

Can anyone please explain what is happening in Gecko/Firefox??? it says they load files from another domain??what does it mean???

please help

thanks

4

1 回答 1

0

我相信他们只是指网站何时使用 cdn 托管静态内容。使用不同的通常没有 cookie 的域来托管他们的 css、图像和 js 文件。并不是说 Gecko/Firefox 对所有 css、图像和 js 文件都做了什么。我不确定为什么 Gecko 在他们描述的这些情况下与其他浏览器不同。

于 2013-10-16T16:26:39.177 回答