PrivateBin/jsdoc_toolkit-2.3.3-beta/app/test/name.js
2010-05-26 15:34:42 -07:00

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;
}
}