Skip to content
This repository was archived by the owner on Jan 4, 2021. It is now read-only.

Commit 89d8013

Browse files
author
Francois-Xavier Gentilhomme
committed
[DEV] Use getDocument instead of deprecated getTextDocument
1 parent cce7a96 commit 89d8013

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

myscript-text-web.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,8 +360,8 @@
360360
this.fire(e.type, e.detail);
361361
},
362362
_onSuccess: function (e) {
363-
if (e.detail && e.detail.getTextDocument) {
364-
this.textdocument = e.detail.getTextDocument();
363+
if (e.detail && e.detail.getDocument) {
364+
this.textdocument = e.detail.getDocument();
365365
} else if (e.detail && (e.detail instanceof Array)) {
366366
this.availablelanguages = e.detail;
367367
} else {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy