Custom-JavaScript-for-Websites-2
Custom-JavaScript-for-Websites-2 copied to clipboard
The way we handle extra scripts is broken!
related to #44
The replace ; to \n and join back is breaking the workflow, details:
https://github.com/xcv58/Custom-JavaScript-for-Websites-2/blob/8a9427ebec2eacaae78fae0ed5b49963930829bd/src/js/stores/IncludeStore.js#L3-L4
https://github.com/xcv58/Custom-JavaScript-for-Websites-2/blob/8a9427ebec2eacaae78fae0ed5b49963930829bd/src/js/run.js#L39-L43
We should move the external scripts to a list of string instead of pure text.
And we need a warning message for users with valid external scripts to migrate to the new way.