source:
trip-planner-front/node_modules/source-map-resolve/lib/resolve-url.js@
76712b2
Last change on this file since 76712b2 was e29cc2e, checked in by , 3 years ago | |
---|---|
|
|
File size: 219 bytes |
Line | |
---|---|
1 | var url = require("url") |
2 | |
3 | function resolveUrl(/* ...urls */) { |
4 | return Array.prototype.reduce.call(arguments, function(resolved, nextUrl) { |
5 | return url.resolve(resolved, nextUrl) |
6 | }) |
7 | } |
8 | |
9 | module.exports = resolveUrl |
Note:
See TracBrowser
for help on using the repository browser.