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.
精彩评论