|
|
@@ -53,6 +53,9 @@ |
|
|
|
this.progress('fetching resource list: ' + this.discoveryUrl); |
|
|
|
return jQuery.getJSON(this.discoveryUrl, function(response) { |
|
|
|
var res, resource, _i, _j, _len, _len1, _ref, _ref1; |
|
|
|
if (response.apiVersion != null) { |
|
|
|
_this.apiVersion = response.apiVersion; |
|
|
|
} |
|
|
|
if ((response.basePath != null) && jQuery.trim(response.basePath).length > 0) { |
|
|
|
_this.basePath = response.basePath; |
|
|
|
if (_this.basePath.match(/^HTTP/i) == null) { |
|
|
|