fengari-lua / fengari-web

Provides everything you need to run Fengari in the browser.
MIT License
250 stars 19 forks source link

src/fengari-web.js: Add check on script's lua_version attribute #24

Closed daurnimator closed 6 years ago

daurnimator commented 6 years ago

For #13

daurnimator commented 6 years ago

FWIW I checked browser compat, and element.hasAttribute() is available in IE8+.

daurnimator commented 6 years ago

Renamed from lua_version to lua-version, as hyphens are much more common in browser attributes