changeset 3041 | c8f47f0b6697 |
3040:8f9580309846 | 3041:c8f47f0b6697 |
---|---|
1 /** |
|
2 @name Response |
|
3 @class |
|
4 */ |
|
5 |
|
6 Response.prototype = { |
|
7 /** |
|
8 @name Response#text |
|
9 @function |
|
10 @description |
|
11 Gets the body of the response as plain text |
|
12 @returns {String} |
|
13 Response as text |
|
14 */ |
|
15 |
|
16 text: function() { |
|
17 return this.nativeResponse.responseText; |
|
18 } |
|
19 } |