Issues (171)

include/include-file.js (2 issues)

1
2
function printFile(file) {
3
    var reader = new FileReader();
0 ignored issues
show
The variable FileReader seems to be never declared. If this is a global, consider adding a /** global: FileReader */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
4
    reader.onload = function(evt) {
5
        console.log(evt.target.result);
0 ignored issues
show
console.log looks like debug code. Are you sure you do not want to remove it?
Loading history...
6
    };
7
    reader.readAsText(file);
8
}
9
10