name.js 266 B

12345678910111213141516171819
  1. /**
  2. @name Response
  3. @class
  4. */
  5. Response.prototype = {
  6. /**
  7. @name Response#text
  8. @function
  9. @description
  10. Gets the body of the response as plain text
  11. @returns {String}
  12. Response as text
  13. */
  14. text: function() {
  15. return this.nativeResponse.responseText;
  16. }
  17. }