Rename required var to match convention

This commit is contained in:
Steven Hammerton 2015-10-12 17:38:04 +01:00
parent 4e0d930014
commit fc333067c2

View File

@ -16,10 +16,10 @@ limitations under the License.
'use strict'; 'use strict';
var Url = require ('url'); var url = require ('url');
function getServiceUrl() { function getServiceUrl() {
var parsedUrl = Url.parse(window.location.href); var parsedUrl = url.parse(window.location.href);
return parsedUrl.protocol + "//" + parsedUrl.host + parsedUrl.pathname; return parsedUrl.protocol + "//" + parsedUrl.host + parsedUrl.pathname;
} }