v0.2.0
Complete overhaul.
require,module,exports, and the newglobalare by default passed to scripts that seem to be legume-y.- Names are now determined from the url or metadata, without needing to specify them.
- Should load faster, as it can load scripts asynchronously without worrying about possible dependencies.
Legumeitself is a function, no longer any text or json functions, they were very unnecessary.- There's now a cache, so things should, again, load faster.
- No more var or async metadata block tags, var is replaced by module and stuff being automatically included, async functions are not supported in IE and await throws errors in some parsers, as it's not supposed to be outside of an async function.
- Global is just a normal object, it's the
thiskeyword for legume scripts.