Skip to content

Commit f4b62e3

Browse files
committed
fixes to LewisStructure tool
1 parent 0cb3ea3 commit f4b62e3

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

Macros/parserLewisStructureTool.pl

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,11 @@ =head1 OPTIONS
5252
5353
=cut
5454

55-
sub _parserLewisStructureTool_init {
56-
ADD_JS_FILE(
57-
'https://cdn.jsdelivr.net/gh/limefrogyank/LewisStructuresWeb@latest/dist/bundle.js',
58-
1, { defer => undef }
59-
);
60-
main::PG_restricted_eval(
61-
'sub LewisStructureTool { parser::LewisStructureTool->new(@_) }');
55+
sub _parserLewisStructureTool_init {#
56+
#ADD_JS_FILE('http://localhost:5173/src/main.ts', 1, { type => "module" }); # For development
57+
#ADD_JS_FILE('http://localhost:3000/index.js', 1, { type => "module" }); # For development
58+
ADD_JS_FILE('https://cdn.jsdelivr.net/gh/limefrogyank/LewisStructuresWeb@latest/dist/index.js', 1, { defer => undef });
59+
main::PG_restricted_eval('sub LewisStructureTool { parser::LewisStructureTool->new(@_) }');
6260
}
6361

6462
loadMacros( 'MathObjects.pl', 'contextChemical.pl',

0 commit comments

Comments
 (0)