Skip to content

Templates can now be dynamic, lots of internal improvements

Choose a tag to compare

@rspieker rspieker released this 26 Dec 11:34
· 129 commits to master since this release

Templates can now be dynamic
The template extension now excepts a value property in the object configuration syntax, where the value of the referenced model property is used to load the template. Whenever the property is changed on the model, the template will be updated.

Internal improvements

  • fixed an issue where a NodeList could be mistaken for an options object if it was the last argument of kontext.bind
  • added tests to ensure templates are properly cached and queue while loading files (so each path is only loaded once)
  • fixed several minor issues pointed out by Codacy
  • improved code coverage for tests