瀏覽代碼

update transpile.ts

yakomaxa 2 年之前
父節點
當前提交
7c82a9fd6e
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      src/mol-script/transpile.ts

+ 4 - 2
src/mol-script/transpile.ts

@@ -14,12 +14,14 @@ const transpiler: {[index: string]: Transpiler} = _transpiler;
 
 export function parse(lang: Script.Language, str: string): Expression {
     try {
-	
+
         const query = transpiler[lang](str);
         return query;
-	
+
     } catch (e) {
+
         console.error(e.message);
         throw e;
+
     }
 }