mathiasbynens / luamin

A Lua minifier written in JavaScript
https://mths.be/luamin
MIT License
217 stars 54 forks source link

Using luamin in the browser #19

Closed florentpoujol closed 10 years ago

florentpoujol commented 10 years ago

Hey

Is it possible to use luamin just in a browser, without Node.js or other environment ?

Also, can you update luamin's version here : http://mothereff.in/lua-minifier (if you are behind this website, obviously). It's all I need but it doesn't include the fix for the bug I mentioned a month ago ( https://github.com/mathiasbynens/luamin/issues/17 ).

Thanks !

mathiasbynens commented 10 years ago

luamin works fine in the browser — just include it and it exposes luamin globally.

Anyway, I’ve updated http://mothereff.in/lua-minifier now.

florentpoujol commented 10 years ago

My bad, I just didn't included luaparse. All works fine now. Thanks !