We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86761f0 commit 759c867Copy full SHA for 759c867
resources/Constants/utils.js
@@ -21,11 +21,11 @@ function listObject(object){
21
}
22
23
// Read text from file and store it into the "text" property of the "ele" object.
24
-function readTextFile(path, ele){
25
- var req = new XMLHttpRequest;
+function readTextFile(path, elem){
+ var req = new XMLHttpRequest();
26
req.onreadystatechange = function () {
27
if(req.readyState === 4){
28
- ele.text += req.responseText;
+ elem.text += req.responseText;
29
30
31
req.open("GET", path);
0 commit comments