Ver Fonte

Update src/mol-script/language/parser.ts

Co-authored-by: David Sehnal <dsehnal@users.noreply.github.com>
Alexander Rose há 3 anos atrás
pai
commit
ae1df3c5aa
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/mol-script/language/parser.ts

+ 1 - 1
src/mol-script/language/parser.ts

@@ -110,7 +110,7 @@ namespace Language {
         let allNumeric = true;
         let pos = 0;
         for (let i = 1, _i = nodes.length; i < _i; i++) {
-            let n = nodes[i];
+            const n = nodes[i];
             if (n.kind === 'comment') continue;
             if (n.kind === 'symbol' && n.value.length > 1 && n.value.charAt(0) === ':') {
                 const name = n.value.substr(1);