tasks/bower-concat.js
function joinPathWith(prepend, append) {
			return function(pathPart) {
				// path.join(prepend..., pathPart, append...)
				var params = ensureArray(prepend || []).concat([pathPart], ensureArray(append || []));
				return path.join.apply(path, params);
			};
		}
function joinPathWith(prepend, append) {
			return function(pathPart) {
				// path.join(prepend..., pathPart, append...)
				var params = ensureArray(prepend || []).concat([pathPart], ensureArray(append || []));
				return path.join.apply(path, params);
			};
		}
function joinPathWith ( prepend , append ) { return function ( pathPart ) { // path.join(prepend..., pathPart, append...) var params = ensureArray ( prepend || [ ] ) . concat ( [ pathPart ] , ensureArray ( append || [ ] ) ) ; return path . join . apply ( path , params ) ; } ; }
Path joiner function factory. Returns function that prepends `pathPart` with `prepend` and appends it with `append`.

@param  {Array|String} [prepend] Path parts that will be added before `pathPart`.
@param  {Array|String} [append] Path parts that will be added after `pathPart`.
@return {Function} function(pathPart) {}
Path joiner function factory . Returns function that prepends pathPart with prepend and appends it with append .