Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(189)

Unified Diff: polymer_0.5.4/bower_components/core-ajax/core-xhr.html

Issue 895523005: Added Polymer 0.5.4 (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: polymer_0.5.4/bower_components/core-ajax/core-xhr.html
diff --git a/polymer_0.5.0/bower_components/core-ajax/core-xhr.html b/polymer_0.5.4/bower_components/core-ajax/core-xhr.html
similarity index 98%
copy from polymer_0.5.0/bower_components/core-ajax/core-xhr.html
copy to polymer_0.5.4/bower_components/core-ajax/core-xhr.html
index dbc531b6ca664f1ebb284d1464de899604e0dcc3..ea228049b89894274edeea9355cbdf96c8de0711 100644
--- a/polymer_0.5.0/bower_components/core-ajax/core-xhr.html
+++ b/polymer_0.5.4/bower_components/core-ajax/core-xhr.html
@@ -51,7 +51,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
var async = !options.sync;
//
var params = this.toQueryString(options.params);
- if (params && method == 'GET') {
+ if (params && method.toUpperCase() == 'GET') {
url += (url.indexOf('?') > 0 ? '&' : '?') + params;
}
var xhrParams = this.isBodyMethod(method) ? (options.body || params) : null;
« no previous file with comments | « polymer_0.5.4/bower_components/core-ajax/core-ajax.html ('k') | polymer_0.5.4/bower_components/core-ajax/demo.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698