Created
December 22, 2020 13:00
-
-
Save madhur/f70b44d2d8bcf62318f958859b82c55a to your computer and use it in GitHub Desktop.
Revisions
-
madhur created this gist
Dec 22, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ window.addEventListener("load", startLoading, false); let codeMirror = null; function startLoading() { codemirror = document.querySelector(".CodeMirror").CodeMirror; // console.log(codemirror); //codeMirror = CodeMirror(document.body); console.log(codeMirror); codeMirror.execCommand("selectAll"); } setInterval(startLoading, 5000);