gkz / LiveScript

LiveScript is a language which compiles to JavaScript. It has a straightforward mapping to JavaScript and allows you to write expressive code devoid of repetitive boilerplate. While LiveScript adds many features to assist in functional style programming, it also has many improvements for object oriented and imperative programming.
http://livescript.net
MIT License
2.31k stars 155 forks source link

name mismatch in browser modules #826

Open ceremcem opened 8 years ago

ceremcem commented 8 years ago

With these browser modules, following examples (from livescript.net) does not work:

<script src="livescript.js"></script>
<script type="text/ls">
    console.log "boom #{window.location}"
</script>
<script>
    var LiveScript = require("livescript");
    LiveScript.go();
</script>

Changing var LiveScript = require("livescript"); with var LiveScript = require("LiveScript"); solves this issue.

igl commented 8 years ago

Thanks. #827 will change the name to lowercase for the browser-bundle.