Merge branch 'next' into components

This commit is contained in:
Leo Horie 2015-04-14 20:40:28 -04:00
commit a7052510d6
2 changed files with 2 additions and 1 deletions

View file

@ -1104,6 +1104,7 @@ var m = (function app(window, undefined) {
var extract = xhrOptions.extract || function(xhr) {
return xhr.responseText.length === 0 && deserialize === JSON.parse ? null : xhr.responseText
};
xhrOptions.method = (xhrOptions.method || 'GET').toUpperCase();
xhrOptions.url = parameterizeUrl(xhrOptions.url, xhrOptions.data);
xhrOptions = bindData(xhrOptions, xhrOptions.data, serialize);
xhrOptions.onload = xhrOptions.onerror = function(e) {