Please jshint
This commit is contained in:
@@ -109,10 +109,22 @@ ResourceLocator.prototype.getUrlsFromTemplate = function(username, resource, tem
|
||||
var urls = {};
|
||||
var cdnDomain = getCdnDomain(this.environment.serverMetadata, resource) || {};
|
||||
if (this.resourcesUrlTemplates.http) {
|
||||
urls.http = this.urlForTemplate(this.resourcesUrlTemplates.http, username, cdnDomain.http, resource, templated);
|
||||
urls.http = this.urlForTemplate(
|
||||
this.resourcesUrlTemplates.http,
|
||||
username,
|
||||
cdnDomain.http,
|
||||
resource,
|
||||
templated
|
||||
);
|
||||
}
|
||||
if (this.resourcesUrlTemplates.https) {
|
||||
urls.https = this.urlForTemplate(this.resourcesUrlTemplates.https, username, cdnDomain.https, resource, templated);
|
||||
urls.https = this.urlForTemplate(
|
||||
this.resourcesUrlTemplates.https,
|
||||
username,
|
||||
cdnDomain.https,
|
||||
resource,
|
||||
templated
|
||||
);
|
||||
}
|
||||
|
||||
return urls;
|
||||
|
||||
Reference in New Issue
Block a user