Permalink
Browse files

Packaging, issue in test, see testSuite.js

  • Loading branch information...
1 parent 4f32ea9 commit b5ef31b016a804b213605b3048ba27e329d9316e @nka11 nka11 committed Jul 11, 2011
Showing with 5 additions and 3 deletions.
  1. +2 −2 lib/nocr-mongo.js
  2. +1 −0 package.json
  3. +2 −1 test/testSuite.js
View
@@ -1,4 +1,4 @@
-
+var nocr = require("NoCR");
module.exports = {
'Repository': require('./Repository.js')
,
@@ -8,4 +8,4 @@ module.exports = {
'nodetype': {
'NodeType': require('./types/NodeType.js')
}
-}
+};
View
@@ -44,6 +44,7 @@
"url" : "https://github.com/karacos/nocr-mongo.git"
},
"dependencies": {
+ "NoCR": ">=0.0.1"
},
"engines" : {
"node": ">=0.4.0"
View
@@ -1,7 +1,8 @@
var
log4js = require('log4js')().configure('./conf/log4js.json'),
nocr = require("NoCR"),
- //Repository = require('nocr-mongo').Repository,
+// nocrMongo = require('nocr-mongo'),
+// Repository = nocrMongo.Repository,
// object import should be line above, as nocr-mongo is now an npm package.
// checks for object type agains nocr api (repository instanceof nocr.Repository fails
// when all other tests pass

0 comments on commit b5ef31b

Please sign in to comment.