var get = function(url) {
return url;
}
var reg = /^(http[s]?:\/\/)?([^\/]+)(.*)/,
url = list.hasOwnProperty(matches[2])&&(list[matches[2]] + matches[3]) || url;
return url;
}
相关文章: