aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PursLoader/Loader.js
diff options
context:
space:
mode:
authoreric <thul.eric@gmail.com>2015-11-07 15:06:39 -0500
committereric <thul.eric@gmail.com>2015-11-07 15:06:39 -0500
commitd18adcf960b5df464971e7c06366feeb0d173f1b (patch)
tree6821a4e1fb1f5ab0c54f4e8434e1c5c717890967 /src/PursLoader/Loader.js
parent57585908acc300daa55b40156eeff7a065fe2832 (diff)
parent04eb392f345262e340717812e51a3ba810f7eaee (diff)
downloadpurs-loader-d18adcf960b5df464971e7c06366feeb0d173f1b.tar.gz
purs-loader-d18adcf960b5df464971e7c06366feeb0d173f1b.tar.zst
purs-loader-d18adcf960b5df464971e7c06366feeb0d173f1b.zip
Merge pull request #30 from natefaubion/fix-paths
Fix paths
Diffstat (limited to 'src/PursLoader/Loader.js')
-rw-r--r--src/PursLoader/Loader.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/PursLoader/Loader.js b/src/PursLoader/Loader.js
index 98459b6..45e9c2f 100644
--- a/src/PursLoader/Loader.js
+++ b/src/PursLoader/Loader.js
@@ -12,8 +12,18 @@ function relative(from) {
12 }; 12 };
13} 13}
14 14
15function joinPath(a) {
16 return function(b) {
17 return path.join(a, b);
18 };
19}
20
15exports.cwd = cwd; 21exports.cwd = cwd;
16 22
17exports.relative = relative; 23exports.relative = relative;
18 24
25exports.joinPath = joinPath;
26
19exports.resolve = path.resolve; 27exports.resolve = path.resolve;
28
29exports.dirname = path.dirname;