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

include iced in browser #167

Open
linus-amg opened this issue Oct 14, 2015 · 1 comment
Open

include iced in browser #167

linus-amg opened this issue Oct 14, 2015 · 1 comment

Comments

@linus-amg
Copy link

hi, im compiling some coffee-script to javascript in an ace-editor, so i use the browser version of coffee-script and do CoffeeScript.compile('coffee-code'); and out comes javascript code. Now i would like to use IcedCoffeeScript to compile iced in browser to javascript, but im not sure that I use the right file to include, would it be this one? https://github.com/maxtaco/coffee-script/blob/iced2/extras/iced-coffee-script-108.0.9-min.js

@meeDamian
Copy link

  1. Go to https://github.com/maxtaco/coffee-script/tree/iced2/extras ,
  2. Pick latest .min version (bottom),
  3. Copy it to your project,
  4. Add <script src="js/iced-coffee-script-108.0.9-min.js"></script> in <head>,
  5. Add <script type="text/coffeescript" src="main.iced"></script> for each iced script you want to include.

NOTE: It's not the best idea to include original .iced scripts in your production code. Better just compile it and include as a .js file.

tl;dr: Yes, current version is 108.0.9.

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

2 participants