update to latest js apiclient

pull/702/head
Luke Pulverenti 12 years ago
parent fe3963ae0d
commit 8ec2392590

@ -349,8 +349,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) {
return self.ajax({ return self.ajax({
type: "DELETE", type: "DELETE",
url: url, url: url
dataType: "json"
}); });
}; };
@ -549,8 +548,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) {
return self.ajax({ return self.ajax({
type: "DELETE", type: "DELETE",
url: url, url: url
dataType: "json"
}); });
}; };
@ -604,8 +602,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) {
return self.ajax({ return self.ajax({
type: "DELETE", type: "DELETE",
url: url, url: url
dataType: "json"
}); });
}; };
@ -626,8 +623,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) {
return self.ajax({ return self.ajax({
type: "DELETE", type: "DELETE",
url: url, url: url
dataType: "json"
}); });
}; };
@ -722,8 +718,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) {
return self.ajax({ return self.ajax({
type: "DELETE", type: "DELETE",
url: url, url: url
dataType: "json"
}); });
}; };
@ -741,8 +736,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) {
return self.ajax({ return self.ajax({
type: "DELETE", type: "DELETE",
url: url, url: url
dataType: "json"
}); });
}; };
@ -765,8 +759,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) {
return self.ajax({ return self.ajax({
type: "DELETE", type: "DELETE",
url: url, url: url
dataType: "json"
}); });
}; };
@ -1313,7 +1306,6 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) {
type: "POST", type: "POST",
url: url, url: url,
data: JSON.stringify(postData), data: JSON.stringify(postData),
dataType: "json",
contentType: "application/json" contentType: "application/json"
}); });
}; };
@ -1390,7 +1382,6 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) {
type: "POST", type: "POST",
url: url, url: url,
data: JSON.stringify(configuration), data: JSON.stringify(configuration),
dataType: "json",
contentType: "application/json" contentType: "application/json"
}); });
}; };
@ -1406,7 +1397,6 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) {
type: "POST", type: "POST",
url: url, url: url,
data: JSON.stringify(info), data: JSON.stringify(info),
dataType: "json",
contentType: "application/json" contentType: "application/json"
}); });
}; };
@ -1448,7 +1438,6 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) {
type: "POST", type: "POST",
url: url, url: url,
data: JSON.stringify(user), data: JSON.stringify(user),
dataType: "json",
contentType: "application/json" contentType: "application/json"
}); });
}; };
@ -1474,7 +1463,6 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) {
type: "POST", type: "POST",
url: url, url: url,
data: JSON.stringify(triggers), data: JSON.stringify(triggers),
dataType: "json",
contentType: "application/json" contentType: "application/json"
}); });
}; };
@ -1500,7 +1488,6 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) {
type: "POST", type: "POST",
url: url, url: url,
data: JSON.stringify(configuration), data: JSON.stringify(configuration),
dataType: "json",
contentType: "application/json" contentType: "application/json"
}); });
}; };
@ -1673,8 +1660,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) {
return self.ajax({ return self.ajax({
type: method, type: method,
url: url, url: url
dataType: "json"
}); });
}; };
@ -1700,8 +1686,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) {
return self.ajax({ return self.ajax({
type: method, type: method,
url: url, url: url
dataType: "json"
}); });
}; };
@ -1753,8 +1738,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) {
return self.ajax({ return self.ajax({
type: method, type: method,
url: url, url: url
dataType: "json"
}); });
}; };
@ -1803,8 +1787,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) {
return self.ajax({ return self.ajax({
type: "DELETE", type: "DELETE",
url: url, url: url
dataType: "json"
}); });
}; };
@ -1917,8 +1900,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) {
return self.ajax({ return self.ajax({
type: "DELETE", type: "DELETE",
url: url, url: url
dataType: "json"
}); });
}; };
@ -1941,8 +1923,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) {
return self.ajax({ return self.ajax({
type: "POST", type: "POST",
url: url, url: url
dataType: "json"
}); });
}; };
@ -1972,8 +1953,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) {
return self.ajax({ return self.ajax({
type: "POST", type: "POST",
url: url, url: url
dataType: "json"
}); });
}; };
@ -2004,8 +1984,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) {
return self.ajax({ return self.ajax({
type: "DELETE", type: "DELETE",
url: url, url: url
dataType: "json"
}); });
}; };
} }

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<packages> <packages>
<package id="MediaBrowser.ApiClient.Javascript" version="3.0.79" targetFramework="net45" /> <package id="MediaBrowser.ApiClient.Javascript" version="3.0.80" targetFramework="net45" />
<package id="ServiceStack.Common" version="3.9.43" targetFramework="net45" /> <package id="ServiceStack.Common" version="3.9.43" targetFramework="net45" />
<package id="ServiceStack.Text" version="3.9.43" targetFramework="net45" /> <package id="ServiceStack.Text" version="3.9.43" targetFramework="net45" />
</packages> </packages>
Loading…
Cancel
Save