redoc/build/helpers.js
2016-08-28 21:46:10 +03:00

10 lines
204 B
JavaScript

const path = require('path');
function root(args) {
args = Array.prototype.slice.call(arguments, 0);
return path.join.apply(path, [__dirname, '..'].concat(args));
}
module.exports = {
root: root
}