aboutsummaryrefslogtreecommitdiff
path: root/tools/jsdoc-toolkit-2.4.0/app/test/name.js
diff options
context:
space:
mode:
authorGravatar Rogan Creswick <creswick@galois.com>2012-03-30 17:07:02 -0700
committerGravatar Rogan Creswick <creswick@galois.com>2012-03-30 17:07:02 -0700
commitf6ab6622aab00fe7c2f4c3dc41f786ebbe0f0d73 (patch)
tree870111038542cd27153e1396ebdc063573249689 /tools/jsdoc-toolkit-2.4.0/app/test/name.js
initial revision
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.js19
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