Sha256: 5a889b700b51d4a2b111ea64986141c6fa02fd80542dd42afe114c7ffb527c6a

Contents?: true

Size: 295 Bytes

Versions: 27

Compression:

Stored size: 295 Bytes

Contents

// Copyright 2014 Simon Lydell
// X11 (“MIT”) Licensed. (See LICENSE.)

var url = require("url")

function resolveUrl(/* ...urls */) {
  return Array.prototype.reduce.call(arguments, function(resolved, nextUrl) {
    return url.resolve(resolved, nextUrl)
  })
}

module.exports = resolveUrl

Version data entries

27 entries across 27 versions & 8 rubygems

Version Path
disco_app-0.18.0 test/dummy/node_modules/source-map-resolve/lib/resolve-url.js
disco_app-0.18.2 test/dummy/node_modules/source-map-resolve/lib/resolve-url.js
disco_app-0.16.1 test/dummy/node_modules/source-map-resolve/lib/resolve-url.js
disco_app-0.15.2 test/dummy/node_modules/source-map-resolve/lib/resolve-url.js
disco_app-0.18.4 test/dummy/node_modules/source-map-resolve/lib/resolve-url.js
disco_app-0.18.1 test/dummy/node_modules/source-map-resolve/lib/resolve-url.js
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/source-map-resolve/lib/resolve-url.js
disco_app-0.14.0 test/dummy/node_modules/source-map-resolve/lib/resolve-url.js
disco_app-0.13.6.pre.puma.pre.3 test/dummy/node_modules/source-map-resolve/lib/resolve-url.js
jester-data-8.0.0 node_modules/source-map-resolve/lib/resolve-url.js
ezii-os-5.2.1 node_modules/source-map-resolve/lib/resolve-url.js
ezii-os-2.0.1 node_modules/source-map-resolve/lib/resolve-url.js
ezii-os-1.1.0 node_modules/source-map-resolve/lib/resolve-url.js
ezii-os-1.0.0 node_modules/source-map-resolve/lib/resolve-url.js
ezii-os-0.0.0.1.0 node_modules/source-map-resolve/lib/resolve-url.js
ezii-os-0.0.0.0.1 node_modules/source-map-resolve/lib/resolve-url.js
optimacms-0.4.3 spec/dummy/node_modules/source-map-resolve/lib/resolve-url.js
optimacms-0.4.2 spec/dummy/node_modules/source-map-resolve/lib/resolve-url.js
locomotivecms-4.0.0.alpha1 app/javascript/node_modules/source-map-resolve/lib/resolve-url.js
lux_assets-0.2.11 ./node_modules/source-map-resolve/lib/resolve-url.js