aboutsummaryrefslogtreecommitdiff
path: root/node_modules/relateurl/lib/relate/index.js
blob: f908381815faac04c76d3fa1afd14c6b5513591b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
"use strict";

var absolutize = require("./absolutize");
var relativize = require("./relativize");



function relateUrl(siteUrlObj, urlObj, options)
{
	absolutize(urlObj, siteUrlObj, options);
	relativize(urlObj, siteUrlObj, options);
	
	return urlObj;
}



module.exports = relateUrl;