mrdoob/three.js — pull request #5011 by stefankutko (2014-06-30 19:53:12+00:00)
Title: Overridable generator for creating canvas elements

Especially useful for those using three.js on the server with nodejs. Lets you to do the following:

```javascript
var Canvas = require('canvas');
var THREE = require('three');
THREE.createCanvasElement = function() { return new Canvas(); };
```