var lib = require('phosphide/index');


lib.listPlugins().then((plugins) => {
    console.log(plugins);
    lib.loadPlugin('foo').then(() => {
        console.log('foo finished loading');
        lib.loadPlugin('bar').then(() => {
            console.log('bar finished loading');
            lib.unloadPlugin('bar');
            lib.unloadPlugin('foo');
        });
    });
});

var lib = require('phosphide/index');


lib.listPlugins().then((plugins) => {
    console.log(plugins);
    lib.loadPlugin('foo').then(() => {
        console.log('foo finished loading');
        lib.loadPlugin('bar').then(() => {
            console.log('bar finished loading');
            lib.unloadPlugin('bar');
            lib.unloadPlugin('foo');
            console.log('all plugins unloaded');
        });
    });
});

Add another log statement to example
Add another log statement to example
