exposify example

Both jquery and three.js are loaded from a cdn via a script tag inside the head

However they are required as usual inside our modules, i.e.

var $ = require('jquery')
exposify makes the adjustements to make this all work

Please open the dev console to see logged versions of both libraries and investigate the

main.js
in the sources tab in order to find out how it works (all jquery and three require calls were replaced with assignments from the window).