satyr / coco

Unfancy CoffeeScript
http://satyr.github.com/coco/
MIT License
497 stars 48 forks source link

filename with dots (e.g. jquery.plugin.co) compiles to file without .js extension #155

Closed jedilando closed 12 years ago

jedilando commented 12 years ago

Version 0.7.6, Windows XP

examples

coco -c jquery.plugin.co

creates jquery.plugin

coco -c a.b.c.d.co

creates a.b.c.d

coco -c a.co

creates a.js

satyr commented 12 years ago

This is intentional. To support non-.js targets, .js isn't added when the source has multiple extensions (foo.jsm.cofoo.jsm).

In this case use jquery.plugin.js.co.

jedilando commented 12 years ago

Ok, thank you!