Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to exit CoffeeScript REPL?

I was trying to play around the awesome script - CoffeeScript in its REPL mode, but I found really hard to exit from it. I tried "exit", "q", "quit", ctrl + c, but still failed.

I'm using cygwin in Windows XP.

Anyone knows how to exit from it? Thanks!

Grace

like image 660
Grace Shao Avatar asked Jun 30 '11 14:06

Grace Shao


People also ask

How do I use CoffeeScript in HTML?

You simple need to add a <script type="text/coffeescript" src="app. coffee"></script> to execute coffee script code in an HTML file. In other cases, I've seen people use the attributes of type="coffeescript" and type="coffee" , so they might work for you as well. Save this answer.


1 Answers

If all else fails:

process.exit()
like image 155
Trevor Burnham Avatar answered Oct 12 '22 09:10

Trevor Burnham