aboutsummaryrefslogblamecommitdiffhomepage
path: root/src/PursLoader/Loader.js
blob: 45e9c2fbb24a29bb8fc2fdb973c31d294df3362d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                   





                           


                            
 

                            
                               

                               
'use strict'

// module PursLoader.Loader

var path = require('path');

var cwd = process.cwd();

function relative(from) {
  return function(to){
    return path.relative(from, to);
  };
}

function joinPath(a) {
  return function(b) {
    return path.join(a, b);
  };
}

exports.cwd = cwd;

exports.relative = relative;

exports.joinPath = joinPath;

exports.resolve = path.resolve;

exports.dirname = path.dirname;