sbin/res/app/test/name.js
branchjsdoc
changeset 519 46e21d060650
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sbin/res/app/test/name.js	Fri Dec 23 10:59:23 2011 +0100
@@ -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