Creating a universal Console

In this example, three YUI instances are created, each binding a button to call Y.log(...). Then an additional, separate YUI instance is created that requests only the console module and creates a Console that listens for log events from all three.

YUI #1

YUI #2

YUI #3