Skip to content

Instantly share code, notes, and snippets.

@andrewxhill
Created April 7, 2011 19:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrewxhill/908456 to your computer and use it in GitHub Desktop.
Save andrewxhill/908456 to your computer and use it in GitHub Desktop.
var mol = MOL(function(mol) {
bus = new mol.events.Bus();
api = new mol.ajax.Api(bus);
var config = {bus: bus, api: api, logging:true};
var app = new mol.app.Instance(config);
app.run();
return this;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment