Skip to content

Commit

Permalink
Revert "liar -> lie and add it to parallel"
Browse files Browse the repository at this point in the history
This reverts commit c098175.
  • Loading branch information
petkaantonov committed May 5, 2014
1 parent c098175 commit 6ae5c25
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 43 deletions.
@@ -1,6 +1,6 @@
global.useLie = true;
global.useLiar = true;

var promise = require("lie");
var promise = require("liar");

require('../lib/fakesP');

Expand Down
@@ -1,6 +1,6 @@
global.useLie = true;
global.useLiar = true;

var promise = require("lie");
var promise = require("liar");

require('../lib/fakesP');

Expand Down
17 changes: 2 additions & 15 deletions benchmark/lib/fakesP.js
Expand Up @@ -25,21 +25,8 @@ else if (global.useKew) {
}
}
}
else if( global.useLie) {
var Promise = require('lie');
var slicer = [].slice;
var lifter = function lifter(nodefn) {
return function() {
var p = new Promise(function (resolve, reject){
arguments[arguments.length++] = function(err, res) {
if (err) reject(err);
else resolve(res)
};
nodefn.apply(this, arguments);
});
return p;
}
}
else if( global.useLiar) {
var lifter = require("liar").denodify;
}
else if( global.useRSVP ) {
var lifter = require("rsvp").denodeify;
Expand Down
22 changes: 0 additions & 22 deletions benchmark/madeup-parallel/promises-calvinmetcalf-lie.js

This file was deleted.

4 changes: 2 additions & 2 deletions benchmark/package.json
Expand Up @@ -7,14 +7,14 @@
"async": "~0.7.0",
"deferred": "~0.7.0",
"kew": "~0.4.0",
"liar": "~0.6.0",
"optimist": "~0.6.0",
"q": "~1.0.0",
"rsvp": "~3.0.0",
"text-table": "~0.2.0",
"when": "~3.1.0",
"vow": "~0.4.1",
"davy": "~0.2.0",
"lie": "^2.7.2"
"davy": "~0.2.0"
},
"devDependencies": {},
"scripts": {
Expand Down

0 comments on commit 6ae5c25

Please sign in to comment.