aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/template-renderer.js
Commit message (Collapse)AuthorAge
* Fix template renderer sandbox compatibility (#770)toasted-nutbread2020-09-04
| | | | | * Use Object.prototype.hasOwnProperty.call instead of hasOwn * Disable WebExtension and core.js APIs for template-renderer.js
* Defer assignment of marker (#762)toasted-nutbread2020-09-04
|
* Pitch accent Anki field templates (#701)toasted-nutbread2020-08-01
| | | | | | | | | | | | | | | | | | | * Template helper updates * Add pitch data to exported field formatting data * Reuse note data * Add no-op * Set up pitch accent templates * Refactor version update functions * Implement upgrade process for new Anki templates * Consistency * Update README and anki.js to have matching markers
* Additional template renderer helpers (#699)toasted-nutbread2020-07-31
| | | | | | | | | * Add spread function * Add generic operator evaluation function * Add variable get/set/scope functions * Add isMoraPitchHigh function
* Add eachUpTo function (#690)toasted-nutbread2020-07-26
|
* Fix incorrect handlebars execution context in helpers (#645)toasted-nutbread2020-06-29
|
* Template renderer class (#574)toasted-nutbread2020-06-15
* Convert handlebars.js to a class * Move/rename function * Update helper registration * Rename helper functions * Limit cache size * Make render() async * Rename and move