Skip to content

Commit

Permalink
A few minor tweaks to allow this library to function as a packaged mo…
Browse files Browse the repository at this point in the history
…dule

as well as a local submodule.
  • Loading branch information
ciaranj committed May 14, 2010
1 parent a06605a commit 3dcae17
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/model/index.js
Expand Up @@ -3,7 +3,7 @@ var object = require('../utils/object'),
EventEmitter = require('events').EventEmitter,
Static = require('./static').Static,
Plugin = require('./plugin').Plugin,
ObjectID = require('../support/mongodb/lib/mongodb/bson/bson').ObjectID,
ObjectID = require('mongodb/bson/bson').ObjectID,
sys = require('sys'),

parent = function(){
Expand Down
3 changes: 1 addition & 2 deletions lib/storage.js
@@ -1,7 +1,6 @@

require('./utils/proto');

var mongo = require('./support/mongodb/lib/mongodb/'),
var mongo = require('mongodb'),
object = require('./utils/object'),
Model = require('./model').Model,
EventEmitter = require('events').EventEmitter,
Expand Down
1 change: 1 addition & 0 deletions index.js → mongoose.js
@@ -1,3 +1,4 @@
require.paths.push(__dirname+"lib/support/mongodb/lib")

var fs = require('fs'),
path = require('path'),
Expand Down
1 change: 1 addition & 0 deletions seed.yml
@@ -1,5 +1,6 @@
---
name: Mongoose
description: MongoDB ODM wrapper
lib: .
version: 0.0.1

0 comments on commit 3dcae17

Please sign in to comment.