Closed Peter-Donner closed 7 years ago
A command like lein new chestnut foo-bar generates faulty code in index.html. foo-bar.system.go(); instead of foo_bar.system.go(); (underscore instead of minus).
lein new chestnut foo-bar
foo-bar.system.go();
foo_bar.system.go();
Maybe using {{sanitized}} instead of {{project-ns}} in index.html would fix the issue.
{{sanitized}}
{{project-ns}}
Thanks for catching this Peter. Would you mind sending a pull request?
A command like
lein new chestnut foo-bar
generates faulty code in index.html.foo-bar.system.go();
instead offoo_bar.system.go();
(underscore instead of minus).Maybe using
{{sanitized}}
instead of{{project-ns}}
in index.html would fix the issue.