cytoscape / cyjShiny

An R/shiny widget for cytoscape.js
Other
92 stars 28 forks source link

javascript issue with Chrome? #18

Closed aheilbut closed 3 years ago

aheilbut commented 5 years ago

When running the example using Chrome, the scripts on the browser side raise a syntax error:

"Use of reserved word 'let' in strict mode"

It does, however, work nicely with Firefox, and the regular RCyjs works with Chrome.

(I didn't yet attempt to rebuild the all the javascript from source, but is it something to do with the javascript version that is targeted by webpack?)

paul-shannon commented 5 years ago

Thanks for the report, Adrian.

Can you attach a screen shot of the Chrome javascript console - which will report the line number and other context of the error? I do most of my testing in Chrome and have not yet noticed the syntax error.

On Mar 21, 2019, at 2:37 PM, Adrian Heilbut notifications@github.com wrote:

When running the example using Chrome, the scripts on the browser side raise a syntax error:

"Use of reserved word 'let' in strict mode"

It does, however, work nicely with Firefox, and the regular RCyjs works with Chrome.

(I didn't yet attempt to rebuild the all the javascript from source, but is it something to do with the javascript version that is targeted by webpack?)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

paul-shannon commented 3 years ago

closing this due to inactivity.