redoc/build/helpers.js

10 lines
204 B
JavaScript
Raw Normal View History

2016-08-28 21:46:10 +03:00
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
}