Permalink
Browse files

Removed $ dependency

  • Loading branch information...
1 parent ee7ff4c commit 6bcfbc2f6d9e3b57babeda1431c707a670043ed7 @masylum masylum committed Dec 12, 2010
Showing with 3 additions and 3 deletions.
  1. +1 −1 lib/validator.js
  2. +2 −2 package.json
View
@@ -95,7 +95,7 @@ module.exports = function (model, data) {
};
validator.validateQuery = function (validations, callback) {
- var funk = $.funk();
+ var funk = require('funk')();
getKeys(validations).forEach(function (key, i) {
validations[key][0].mongoCall('findOne', validations[key][1], funk.add(function (errors, doc) {
View
@@ -1,11 +1,11 @@
{
"name": "mongolia",
"description": "Mongodb driver wrapper. Acts as model.",
- "version": "0.0.6",
+ "version": "0.0.7",
"author": "Pau Ramon <masylum@gmail.com>",
"keywords": ["mongo", "mongodb", "orm", "database", "db"],
"main": "./index",
- "dependencies": { "mongodb": ">=0.7.9", "funk": ">=0.0.1"},
+ "dependencies": { "mongodb": ">=0.7.9", "funk": ">=0.0.3"},
"repository" : {"type": "git" , "url": "http://github.com/masylum/mongolia.git" },
"engines": { "node": ">= 0.2.0" }
}

0 comments on commit 6bcfbc2

Please sign in to comment.