meteor-starter icon indicating copy to clipboard operation
meteor-starter copied to clipboard

Compile a non-coffeescript version?

Open Dascrilla opened this issue 9 years ago • 9 comments

Any way thats possible?

Dascrilla avatar Mar 22 '15 22:03 Dascrilla

+1 for this. I write in pure JS, but this is so awesome I'm almost tempted to learn CoffeeScript just to use it.

Any way to get a pure JS version?

nicholasalanbrown avatar Apr 07 '15 16:04 nicholasalanbrown

+1

ghost avatar Apr 14 '15 19:04 ghost

exactly what @nicholasalanbrown said! super nice work.

djbf avatar Apr 17 '15 01:04 djbf

This would almost certainly be a fork and not maintained by me. I prefer coffeescript in a big way.

I'd be happy to help someone who wants to take the lead.

yogiben avatar Apr 29 '15 16:04 yogiben

@nicholasalanbrown @djbf @latitudehopper @Dascrilla

I did a fork and used js2.coffee compiler to get vanilla javascript.

The project seems to be working fine, I'll need to review the syntax of those generated .js files.

https://github.com/MauriSalazar/meteor-starter

MauriSalazar avatar May 06 '15 04:05 MauriSalazar

Yes, please. I always feel like this when this happen.

fjaguero avatar May 20 '15 20:05 fjaguero

Convert to js


  git clone https://github.com/yogiben/meteor-starter.git

  npm install -g coffee-script

  find meteor-starter -name "*.coffee" -exec coffee -b --no-header -c {} \;

  # Replace .coffee in all package.js
  find meteor-starter -name "package.js" -exec sed -i 's/\.coffee/\.js/' {} \;

  # Backup coffee file to coffee.save
  for i in `find meteor-starter -name "*.coffee"`; do mv $i $i.save; done
  # OR delete
  for i in `find meteor-starter -name "*.coffee"`; do rm -f $i; done

srault95 avatar Jun 11 '15 15:06 srault95

@yogiben after looking deeper into the efficiencies of a JavaScript workflow, you've totally converted me. I'm using you're original repo now. Good thing I didn't get too far into this project :-)

nicholasalanbrown avatar Jun 17 '15 02:06 nicholasalanbrown

@nicholasalanbrown haha great to hear!

yogiben avatar Jun 19 '15 16:06 yogiben