Skip to content

v0.2.2

Choose a tag to compare

@coolreader18 coolreader18 released this 23 Feb 23:55
· 68 commits to master since this release

New features:

  • Can now load from the text of the legume-loading script element, simply put the data-legume-text attribute on the element. Example:
<script src=https://cdn.jsdelivr.net/npm/legume-loader data-legume-text>
/* @legume
 * @name script
 * @script npm:jquery
 */
console.log(require("jquery")); // returns jQuery
</script>