Skip to content

Instantly share code, notes, and snippets.

@FLYBYME
Created February 15, 2012 15:42
Show Gist options
  • Select an option

  • Save FLYBYME/1836771 to your computer and use it in GitHub Desktop.

Select an option

Save FLYBYME/1836771 to your computer and use it in GitHub Desktop.
var App = require('./app');
var app = new App({
__dirname : __dirname,
"author" : "Tim <[email protected]>",
"name" : "test-site-1",
"description" : "this is just a test site call one.",
"version" : "0.0.1",
"main" : "web.js",
"enter" : "a",
"modules" : {
"a" : "console.log('ready a');console.log(evn.require('b'))",
"b" : "console.log('ready b');evn.define('b',{})dsf"
},
"dependencies" : {
"bolt" : ""
}
});
app.on('app_error', function(err) {
throw (err);
});
app.on('dependencies', function(dependencies) {
console.log('dependencies', dependencies)
});
app.on('compiled', function() {
console.log('got compiled callback');
});
app.compile();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment