how can i use .ls files in my webpage?

58 views
Skip to first unread message

Milad Fathi

unread,
Dec 2, 2014, 3:29:30 PM12/2/14
to lives...@googlegroups.com
Hi, I know that it looks stupid but questioning is not a shame.
I want to know how can I use examplefile.ls in my web page?
 am I have to import LiveScript.js ? 

and my another question is that, how can I change the file format from .ls to something else or changing the name of language ? ( just want to learn the staff and it's for personal use. I regard the license if in it there is a line for do not make changes like this)

sorry if my english is bad.
Best Regards MIlad

Isiah Meadows

unread,
Jan 30, 2015, 4:46:46 AM1/30/15
to lives...@googlegroups.com
You include the LiveScript.js file, and include your script as `<script type="text/ls">` or `<script type="application/ls">`, IIRC.

Isiah Meadows

unread,
Jan 30, 2015, 4:47:26 AM1/30/15
to lives...@googlegroups.com
I would like to add that it's not advisable in production.

Rafael Poveda

unread,
Aug 18, 2016, 6:04:43 PM8/18/16
to LiveScript
Why isn't recommended for production?

Jim Tittsler

unread,
Aug 18, 2016, 9:00:47 PM8/18/16
to LiveScript
Because then each user must pay the price for compiling to JavaScript,
rather than the developer suffering that cost once per deployment.
Reply all
Reply to author
Forward
0 new messages