mrdoob/three.js — pull request #3909 by speigg (2013-09-24 23:40:35+00:00)
Title: Support removeEventListener inside event handler

Support the following (and similar) use-case:

```javascript
var object = new THREE.Object3D()
var doOnce = function() {
// do something
object.removeEventListener("foo",doOnce);
}
object.addEventListener("foo", doOnce);
```