'use strict';

var Game = require( './game' );
var Color = require( './math/color' );
var Geometry = require( './geometry/geometry' );
var Material = require( './materials/material' );
var LambertMaterial = require( './materials/lambert-material' );
var LambertGlowMaterial = require( './materials/lambert-glow-material' );
var Mesh = require( './objects/mesh' );
var DirectionalLight = require( './lights/directional-light' );

var game = new Game(
  Math.min( window.innerWidth, 568 ),
  Math.min( window.innerHeight, 320 )
);

document.body.appendChild( game.canvas );

var scene = game.scene;

@@ -418,24 +418,764 @@
 -light' );%0A%0A
+var $ = document.querySelector.bind( document );%0A%0Afunction on( el, type, listener ) %7B%0A  el.addEventListener( type, listener );%0A%7D%0A%0Afunction off( el, type, listener ) %7B%0A  el.removeEventListener( type, listener );%0A%7D%0A%0Afunction create( type ) %7B%0A  return document.createElement( type );%0A%7D%0A%0Afunction append( parent, el ) %7B%0A  parent.appendChild( el );%0A%7D%0A%0Afunction prepend( parent, el ) %7B%0A  parent.insertBefore( el, parent.firstChild );%0A%7D%0A%0Afunction remove( el ) %7B%0A  if ( el.parentNode ) %7B%0A    el.parentNode.removeChild( el );%0A  %7D%0A%7D%0A%0Afunction textContent( el, text ) %7B%0A  el.textContent = text;%0A%7D%0A%0Afunction addClass( el, className ) %7B%0A  el.classList.add( className );%0A%7D%0A%0Afunction removeClass( el, className ) %7B%0A  el.classList.remove( className );%0A%7D%0A%0A%0A
 var game = n

Add DOM manipulation utility functions.