Permalink
Browse files

relative requires

  • Loading branch information...
substack committed Jun 25, 2012
1 parent 955f55e commit ac4fc334a35a8c4959e0d2414a24ec26eaeb4436
Showing with 3 additions and 3 deletions.
  1. +1 −1 examples/z.js
  2. +2 −2 test/curry.js
View
@@ -1,4 +1,4 @@
-var ap = require('ap');
+var ap = require('../');
var z = ap([3], function (x, y) {
return this.z * (x * 2 + y);
}).call({ z : 10 }, 4);
View
@@ -1,5 +1,5 @@
var assert = require('assert');
-var ap = require('ap');
+var ap = require('../');
var pa = ap.pa;
var apa = ap.apa;
var partial = ap.partial;
@@ -134,4 +134,4 @@ test("curriedRight function", function (t) {
10 * (4 * 2 + 3));
t.end();
-});
+});

0 comments on commit ac4fc33

Please sign in to comment.