-
Notifications
You must be signed in to change notification settings - Fork 1.4k
.Coffee file #329
Comments
do you have any coffee files in your app/scripts folder? if you do thats why its using the coffee option |
Can I add some switch to force javascrip. It has a --coffee can you make a
|
try --coffee=false |
I did. No work
|
As soon as you have generator-angular/script-base.js Line 37 in 1a176e1
|
yes, its a bug. --coffee=false needs to be repaired as I have run into situations where i need to generate .js not .coffee specifically some devs don't know coffee and some do... so some write it and some don't. in this case we eventually translate what the other devs write (generally contractors) back to js as simply a higher % of the the staff understand it. |
honestly that sounds like a bug in your process |
I admint the process is not perfect. however the point is, even as you said, --coffee=false should work. it doesn't. so why the process is not 100% clearly this code has a bug as --coffee=false should work. if you bring up the options for this is says --coffee defaults to false... yet that's also wrong as --coffee only defaults to false if there is no .coffee file existing... so there is some errors with the program and its documentation. --coffee=false should provide and override for this. |
It's probably a nice feature, that after creating one .coffee, the --coffee option becomes unnecessary. In my case I create basic classes using coffeescript, but aren't into its syntax yet, so I'd like to use something like --coffee=false. Which of now doesn't work. Alternatively, javascript files could be produced until the --coffee option is used. No hidden assumptions in the tool. |
after i set up webapp and angular using yeoman on my windows7 pc i find that running yo angular:directive myDirective produces .coffee files. I know you can do yo angular:directive myDirective --coffee to turn this on but how do i turn it off or force .js files?
The text was updated successfully, but these errors were encountered: