Created
May 7, 2017 11:06
-
-
Save neilcummings/10f27d05886b6fd4be5212c76b2ab80a to your computer and use it in GitHub Desktop.
SharePointAddinAngular - config/helpers.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var path = require('path'); | |
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; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment