Files
freeplanet/helpers.js
Paolo Arena fa17de24f0 - Update the way to use the data records on Vuex with Getters!
- Fix: mongodb call passing array todos and categiroes already splitted
2019-02-27 02:58:41 +01:00

11 lines
225 B
JavaScript

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