mrdoob/three.js — pull request #2494 by tapio (2012-10-10 08:10:58+00:00)
Title: Partially broken webgl_materials_shaders.html

I noticed that if I have WebGL, trying to switch to canvas renderer in webgl_materials_shaders.html example throws an exception. The cause is that CanvasRenderer is never created if WebGL is enabled. This patch fixes it by always creating it. Though the canvas is dead slow even on Chrome. :(