Sebastien Lebreton 5 gadi atpakaļ
vecāks
revīzija
a815ff212a
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      Playground/js/definitionWorker.js

+ 1 - 1
Playground/js/definitionWorker.js

@@ -85,7 +85,7 @@ function visit(node) {
 
 function processDefinition(code) {
     if (deprecatedCandidates.length == 0) {
-        var sourceFile = ts.createSourceFile('babylon.js', code, ts.ScriptTarget.ESNext, true);
+        const sourceFile = ts.createSourceFile('babylon.js', code, ts.ScriptTarget.ESNext, true);
         ts.forEachChild(sourceFile, visit);
     }