mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
add BC getTermDocument and a note about deprecation
This commit is contained in:
parent
19f53550ea
commit
8283ce6825
1 changed files with 8 additions and 1 deletions
|
|
@ -96,7 +96,14 @@ export default class Term extends PureComponent {
|
|||
|
||||
getTermDocument() {
|
||||
// eslint-disable-next-line no-console
|
||||
console.error('unimplemented');
|
||||
console.warn(
|
||||
'The underlying terminal engine of Hyper no longer ' +
|
||||
'uses iframes with individual `document` objects for each ' +
|
||||
'terminal instance. This method call is retained for ' +
|
||||
"backwards compatibility reasons. It's ok to attach direclty" +
|
||||
'to the `document` object of the main `window`.'
|
||||
);
|
||||
return document;
|
||||
}
|
||||
|
||||
onWindowResize() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue