Releases: DigitallyHappy/assets
Releases · DigitallyHappy/assets
2.1.0
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
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(