plexus / chestnut

Application template for Clojure + ClojureScript web apps
Eclipse Public License 1.0
1.32k stars 99 forks source link

Issue with dashes in project name #210

Closed Peter-Donner closed 7 years ago

Peter-Donner commented 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).

Maybe using {{sanitized}} instead of {{project-ns}} in index.html would fix the issue.

plexus commented 7 years ago

Thanks for catching this Peter. Would you mind sending a pull request?