Skip to content

Runtime ~ Internal Design

Frank Wienberg edited this page Mar 14, 2014 · 1 revision

Internal Design

The runtime code consists of about 200 lines of "pure" JavaScript bootstrap code (jangaroo-runtime.module.js and joo/BootstrapClassLoader.js) and a few ActionScript classes. The ActionScript classes are compiled by jooc, and, as any Jangaroo module code, concatenated into the file joo/net.jangaroo.jangaroo-runtime.classes.js, resulting in a file of just about 53 kb (unzipped!). This approach is possible because the runtime ActionScript classes use only the most basic runtime features.

When using debug mode, the ActionScript classes of the Jangaroo Runtime are, as any Jangaroo code, loaded as separate JavaScript files, so you can even do source-level debugging of the Jangaroo Runtime!

Clone this wiki locally