Skip to content

2.0.0

Compare
Choose a tag to compare
@tabacitu tabacitu released this 24 Nov 22:12
· 11 commits to main since this release
e34080e

This release:

  • removes the @asset() directive (name was too general)
  • makes the @loadOnce() directive smarter, in that it can also do what @asset() did before (load one script, load one style or load code block)
  • renames @loadCssOnce() to @loadStyleOnce() - still needed when parameter is a variable
  • renames @loadJsOnce() to @loadScriptOnce() - still needed when parameter is a variable

To upgrade:

  • search & replace @asset( with @loadOnce(
  • search & replace @loadCssOnce( with @loadStyleOnce( or @loadOnce(
  • search & replace @loadJsOnce( with @loadScriptOnce( or @loadOnce(