Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile a non-coffeescript version? #46

Open
Dascrilla opened this issue Mar 22, 2015 · 9 comments
Open

Compile a non-coffeescript version? #46

Dascrilla opened this issue Mar 22, 2015 · 9 comments

Comments

@Dascrilla
Copy link

Any way thats possible?

@nicholasalanbrown
Copy link

+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?

@ghost
Copy link

ghost commented Apr 14, 2015

+1

@djbf
Copy link

djbf commented Apr 17, 2015

exactly what @nicholasalanbrown said! super nice work.

@yogiben
Copy link
Owner

yogiben commented Apr 29, 2015

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.

@MauriSalazar
Copy link

@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

@fjaguero
Copy link

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

@srault95
Copy link

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

@nicholasalanbrown
Copy link

@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 :-)

@yogiben
Copy link
Owner

yogiben commented Jun 19, 2015

@nicholasalanbrown haha great to hear!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants