iron-ajax icon indicating copy to clipboard operation
iron-ajax copied to clipboard

When sync is set to true, iron-ajax ignores handle-as attribute.

Open jasonmlkang opened this issue 8 years ago • 1 comments

Description

When sync is set to true, iron-ajax ignores handle-as attribute.

Steps to reproduce

1.sync="true" 2. handle-as="json"

jasonmlkang avatar Oct 04 '16 21:10 jasonmlkang

Hmmm looks like maybe the code got shifted around accidentally?

https://github.com/PolymerElements/iron-ajax/blob/master/iron-request.html#L249

https://github.com/PolymerElements/iron-ajax/blob/master/iron-request.html#L281

Looks like it is also affecting jsonPrefix

stramel avatar Mar 10 '17 03:03 stramel