Closed adriespo closed 3 years ago
You're trying to use the src/
version. Use the built version at https://github.com/mathiasbynens/he/blob/master/he.js instead.
Thank you very much! So that file contains some kind of JavaScript to compile! I'm sorry, I'm not familiar with that.
Now it's work perfectly and does what I was searching for. Thank you again.
Hi, I would like to use he.js in my site, but if I try to embed he.js as a client-side script as stated in the readme:
<script src="he.js"></script>
the Chrome console outputs this error
Chrome: Uncaught SyntaxError: Unexpected token '<' in he.js:32
and breaks, so the variable he is never declared and I can't use the library.
The parser breaks at this code, it's the operator <=%
Where am I wrong?