Sebastien Lebreton 5 tahun lalu
induk
melakukan
a815ff212a
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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);
     }