diff options
Diffstat (limited to 'tools/jsdoc-toolkit-2.4.0/app/test/name.js')
-rw-r--r-- | tools/jsdoc-toolkit-2.4.0/app/test/name.js | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tools/jsdoc-toolkit-2.4.0/app/test/name.js b/tools/jsdoc-toolkit-2.4.0/app/test/name.js new file mode 100644 index 0000000..e88a51a --- /dev/null +++ b/tools/jsdoc-toolkit-2.4.0/app/test/name.js @@ -0,0 +1,19 @@ +/** + @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; + } +}
\ No newline at end of file |