UCLALibrary / mirador-sync-windows

A Mirador 2 plugin that allows users to mirror actions performed in one window in one or more other windows.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

override module templates via string concatenation, instead of prepending jQuery object separately

markmatney opened this issue · comments

Handlebars templates are currently not "decompile-able", so it would make more sense for them to be available as plain strings on Mirador's various modules. Then, a module whose template is being overridden just needs to have its template concatenated with the additional HTML, as well access to an object containing the template data for that additional HTML.