QuantumJS
Edit Page
Template changelog
What has changed in quantum-template for each release.
Initial public release of quantum-template.
template
Added
Creates a template to apply to the page.
for
Added
Loop through an Array variable or an Object variables keys
if
Added
Display some content based on a variable value.
ifnot
Added
Inverse of @if, can be used as an 'else' statement for @if blocks. It displays content if a the value of a variable is falsey.
fileTransformoptionsObjectFileTransform
Added
The function for getting a FileTransform for parsing template variables and processing the entities (e.g. @for, @if provided by this module.
wrapperfileContentArray[Entity]
Added
The function used by the fileTransform that processes the @template entities.
It does not apply variable definitions and only processes the page content to apply the templating.
1.0.0
Version 1.0.0 is an unsupported version of the library.