mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-12-01 17:46:07 +03:00
19 lines
266 B
JavaScript
19 lines
266 B
JavaScript
|
/**
|
||
|
@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;
|
||
|
}
|
||
|
}
|