pad.pub0.org/doc/jsdoc-toolkit/app/test/name.js

19 lines
266 B
JavaScript

/**
@name Response
@class
*/
Response.prototype = {
/**
@name Response#text
@function
@description
Gets the body of the response as plain text
@returns {String}
Response as text
*/
text: function() {
return this.nativeResponse.responseText;
}
}