mrdoob/three.js — pull request #1797 by gero3 (2012-04-23 17:38:04+00:00)
Title: Notifier

Actually a first try to get a notifier working.

How to use??

```javascript

var texture = new THREE.Texture();

var imageloader = new THREE.ImageLoader();
imageloader.load( 'blah.jpg', function ( image ) {
texture.image = image;
texture.needsUpdate = true;
} );

var mesh = new THREE.Mesh( null, new THREE.MeshBasicMaterial( { map: texture } ) );

var jsonloader = new THREE.JSONLoader();
jsonloader.load( 'bleh.js', function ( geometry ) {
mesh.geometry = geometry;
} );

var notifier= new THREE.Notifier([ imageloader, jsonloader ], function () {
console.log( 'All done!' );
} );

```