开发者

how does this game load its modules?

This game uses ig.module('impact.font').requires('impact.image') for impact/font.js but when i see source co开发者_Go百科de via Google Developer Tools i dont see <script> for impact/font.js (in http://playbiolab.com page) Why? how do they load them?


All the code is in biolab.js. The 'modules' aren't external files (at least not by the time the code is delivered to the browser).


The variables are defined at http://playbiolab.com/biolab.js. Instead of starting with the developer tools, you can also view the source of the page, then search for <script (without closing >).

If you cannot understand the code, because it's packed, use http://jsbeautifier.org.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜