Skip to content

Commit

Permalink
fixup schema cross-module stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan Prodromou committed May 3, 2012
1 parent 2037a03 commit 5f57ddf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ var connect = require('connect'),
_ = require('underscore'),
api = require('./routes/api'),
web = require('./routes/web'),
schema = require('./lib/schema'),
schema = require('./lib/schema').schema,
HTTPError = require('./lib/httperror').HTTPError,
Provider = require('./lib/provider').Provider,
config = require('./config'),
Expand Down
2 changes: 1 addition & 1 deletion lib/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ var getSchema = function() {
return schema;
};

exports = getSchema();
exports.schema = getSchema();

0 comments on commit 5f57ddf

Please sign in to comment.