Skip to content

Commit

Permalink
require path fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nw committed May 25, 2010
1 parent b441da4 commit 930a644
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/model/static.js
@@ -1,6 +1,6 @@
var object = require('../utils/object'),
QueryWriter = require('./queryWriter').QueryWriter,
ObjectID = require('../support/mongodb/lib/mongodb/bson/bson').ObjectID;
ObjectID = require('./mongodb/bson/bson').ObjectID;

this.Static = {

Expand Down
4 changes: 2 additions & 2 deletions lib/storage.js
@@ -1,7 +1,7 @@

require('./utils/proto');
require.paths.push(__dirname+"/support/mongodb/lib")
var mongo = require('mongodb/'),

var mongo = require('./mongodb/'),
object = require('./utils/object'),
Model = require('./model').Model,
EventEmitter = require('events').EventEmitter,
Expand Down

0 comments on commit 930a644

Please sign in to comment.