mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-23 13:46:09 +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;
|
|
}
|
|
} |