Hi,
I'm a little confused by this code in index.html:
```
canvas: (function() {
var canvas = document.getElementById('canvas');
canvas.addEventListener("webglcontextlost", function(e) { alert('WebGL context lost. You will need to reload the page.'); e.preventDefault(); }, false);
return canvas;
})(),
```
What's the deal with the weird `(function(){...})();` syntax? Other functions in index.html don't seem to do this.
Is it something to do with only running the function code once? Otherwise it seems like a weglcontextlost listener would be added each time canvas() was called!
Bye,
Mark