mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-29 00:26:10 +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;
|
|
}
|
|
} |