Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

js script generated is malformed #1

Open
setop opened this issue Jul 16, 2021 · 0 comments
Open

js script generated is malformed #1

setop opened this issue Jul 16, 2021 · 0 comments

Comments

@setop
Copy link

setop commented Jul 16, 2021

using v0.3.0 published on hexdocs.pm, the file incendium.js is malformed and not executable by the web browser

//# sourceMappingURL=bootstrap.min.js.mapfunction incendiumSearch(id) {

a newline is missing, it should be :

//# sourceMappingURL=bootstrap.min.js.map
function incendiumSearch(id) {

It probably comes from here, when files are concatenated. If "d3_flamegraph_js" has no newline at the end, since "extra.js" has no new line at the beginning, then these two lines are accidentally merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant