Releases: coolreader18/legume-loader
Releases · coolreader18/legume-loader
v1.0.0-4
New features:
- Versionless gist imports using https://rawgist.now.sh (I made it)
Changes:
- Legume() actually returns from the cache now.
- Use https://raw.githack.com instead of https://rawgit.com for versioned gist imports because the latter is closing down.
v1.0.0-3
Fixes:
- Stylesheet links in html imports weren't being resolved properly
v1.0.0-2
New features:
- Add html imports, opens a new window with the contents of the imported html file.
v1.0.0-1
Changes:
- Fully fleshed out testing configuration.
Fixes:
- The main field in package.json now points to the correct file.
v1.0.0-0
Prerelease for 1.0.0.
Brief overview of changes:
- Completely remove all comment metadata stuff
- Find import statements in the code and use that instead of
@legumeand@require - Support for CSS
url()s, it finds those and resolves them too. - AMD module support, for stuff like
jquery-uithat only does AMD. - Dynamic imports, they basically just convert to
Legume() - Better and cleaner API.
v0.2.7
v0.2.6
Bookmarklet support:
- use
@bookmarkletto make the script run every time it's required
v0.2.5
Not much, just added a "main" to the package.json so that npm package tools work better.
v0.2.4
New features:
- You can now load easily from gists. The format is:
gist:<gist id>[@<sha hash>]/<file>.js - A url cache, so if two scripts have the same dependency from the same url, it won't fetch it twice.
Changes:
- <script> tags will now be loaded synchronously, as they would be if they were as a normal <script> tag. This also supports the async attribute, but it's kind of useless as it wouldn't block loading anyway.
- Inline <script> tags get a url for debugging, its format is
inline-legume:<module name>
v0.2.3
New feature:
<script type=text/legume>
/* @legume
* @name script
* @require npm:jquery
*/
console.log(require("jquery"));
</script>Changes:
@scripthas been changed to@requireprocessevals in a global scope, so there's no longer a closure withpassargsor something.- legume.min.js now has a sourcemap.