Permalink
Browse files

Expose App in debug configuration

  • Loading branch information...
1 parent 225c95c commit c272d6d1f6aa21d0b7f9ceb414a08e657e95503a @franksrevenge committed Dec 10, 2013
Showing with 4 additions and 1 deletion.
  1. +4 −1 lib/geddy.js
View
@@ -1,4 +1,3 @@
-
var geddy = global.geddy || {}
, utils = require('utilities')
, pkg = require('../package');
@@ -36,6 +35,10 @@ utils.mixin(geddy, new (function () {
w.startServer();
utils.mixin(geddy, app);
});
+
+ if( geddy.config.debug === true ) {
+ geddy.app = app;
+ }
});
w.configure(c);
};

0 comments on commit c272d6d

Please sign in to comment.