Sebastien Lebreton 5 سال پیش
والد
کامیت
a815ff212a
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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);
     }