>
> Another issue i've encountered is that there's no way to see the status of
> the request without having the XHR object.
>
i've made the following changes:
isSuccess: function(xhr) {
*xhr = xhr || this.xhr;*
var status = xhr.status || 0;
return !status || (status >= 200 && status < 300);
}
This way i can alway check the readystate of the xhr object.
I don't know if this should be in the defaults of polymer but the ajax and
xhr objects definitly need some work..
Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/polymer-dev/89a1e3d7-9b3b-41d9-87f7-8b23c001f171%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.