lib/require.js
function(paths) {
			var base = Script.current(this).absolute;
			each(paths, function(item, index) {
				var path = paths[index] = URL.absolute(URL.clean(item), base);
				if (path[path.length - 1] !== '/') {
					paths[index] += '/';
				}
			});
			return paths;
		}
function(paths) {
			var base = Script.current(this).absolute;
			each(paths, function(item, index) {
				var path = paths[index] = URL.absolute(URL.clean(item), base);
				if (path[path.length - 1] !== '/') {
					paths[index] += '/';
				}
			});
			return paths;
		}
function ( paths ) { var base = Script . current ( this ) . absolute ; each ( paths , function ( item , index ) { var path = paths [ index ] = URL . absolute ( URL . clean ( item ) , base ) ; if ( path [ path . length - 1 ] !== '/' ) { paths [ index ] += '/' ; } } ) ; return paths ; }
Resolve supplied paths relative to the current script, or page URL, to configure absolute base paths of a `Loader` instance.
Resolve supplied paths relative to the current script or page URL to configure absolute base paths of a Loader instance .