can generate jsdoc; private methods marked as such
[dygraphs.git] / jsdoc-toolkit / app / test / name.js
diff --git a/jsdoc-toolkit/app/test/name.js b/jsdoc-toolkit/app/test/name.js
new file mode 100644 (file)
index 0000000..e88a51a
--- /dev/null
@@ -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