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

Better support for Browser & CoffeeScript #198

Open
al6x opened this issue Jan 17, 2014 · 2 comments
Open

Better support for Browser & CoffeeScript #198

al6x opened this issue Jan 17, 2014 · 2 comments
Labels

Comments

@al6x
Copy link

al6x commented Jan 17, 2014

CoffeeScript provides handy way to use it in browser - just include your scripts with <script type="text/coffeescript"> tags and it will be compiled and executed automatically (see details here http://coffeescript.org/#scripts ).

Would be good to have same for StreamlineJS - <script type="text/_coffeescript">.

@bjouhier
Copy link
Member

This is cool. I did not know this was possible. Found the instructions there: http://forgivingworm.wordpress.com/2010/09/27/running-coffeescript-in-browser/

From what I understand you have to include a special script at the end of the script list. This script will scan the <script> tags and compile them. No reason it should not work with streamline too.

@al6x
Copy link
Author

al6x commented Jan 19, 2014

Yes, I meant it would be nice to include this feature in streamline.js and having it working out of the box :)

@bjouhier bjouhier closed this as completed May 6, 2014
@bjouhier bjouhier reopened this May 6, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants