updated to 1.1.4

This commit is contained in:
Tony Tam
2012-11-19 19:30:42 -08:00
parent cfa2006042
commit 2d62bddfb8
3 changed files with 5 additions and 2 deletions

View File

@@ -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) {