src/utils.js
function joinPaths(parts) {
	return Array.prototype.slice.call(arguments)
		.join('/')
		.replace(/\/+/g, '/');
}
function joinPaths(parts) {
	return Array.prototype.slice.call(arguments)
		.join('/')
		.replace(/\/+/g, '/');
}
Join paths

@param {...String} parts
@returns {String}
@private