Skip to content
Snippets Groups Projects
Unverified Commit ae1df3c5 authored by Alexander Rose's avatar Alexander Rose Committed by GitHub
Browse files

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

parent 28afb395
No related branches found
No related tags found
No related merge requests found
...@@ -110,7 +110,7 @@ namespace Language { ...@@ -110,7 +110,7 @@ namespace Language {
let allNumeric = true; let allNumeric = true;
let pos = 0; let pos = 0;
for (let i = 1, _i = nodes.length; i < _i; i++) { 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 === 'comment') continue;
if (n.kind === 'symbol' && n.value.length > 1 && n.value.charAt(0) === ':') { if (n.kind === 'symbol' && n.value.length > 1 && n.value.charAt(0) === ':') {
const name = n.value.substr(1); const name = n.value.substr(1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment