UNPKG

g11n-js-common

Version:

This is I18n level 2 common library for javascript based clients like g11n-angular-client,g11n-js-client

15 lines (12 loc) 333 B
/* * Copyright 2019 VMware, Inc. * SPDX-License-Identifier: EPL-2.0 */ var path = require('path'); // Helper functions var 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;