Skip to content

Commit

Permalink
Fixed test regression on Ubuntu 12.04; switched to bluebird on node (…
Browse files Browse the repository at this point in the history
…and node only).
  • Loading branch information
marten-de-vries committed May 8, 2014
1 parent 4976276 commit 2e8d456
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

//TODO: call http equivalent if http adapter

var Promise = require("lie");
var Promise = require("bluebird");

var coucheval = require("../utils/coucheval.js");
var addCallback = require("../utils/promisewrapper.js");
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{
"name": "pouchdb-validation",
"main": "index.js",
"browser": {
"bluebird": "lie"
},
"scripts": {
"build-js": "mkdir -p ../../dist && browserify index.js -s Validation -o ../../dist/pouchdb-validation.js",
"build": "npm run build-js; cd ../../dist; uglifyjs pouchdb-validation.js -mc > pouchdb-validation.min.js"
Expand Down

0 comments on commit 2e8d456

Please sign in to comment.