mirror of https://github.com/adamdruppe/arsd.git
use new object from dom.d, breaking change - change your string[string] to AttributesHolder too
This commit is contained in:
parent
2f457a1dbe
commit
21eec2bc9b
|
@ -128,12 +128,12 @@ public import arsd.jsvar : var;
|
||||||
+/
|
+/
|
||||||
class WebTemplateRenderer {
|
class WebTemplateRenderer {
|
||||||
private TemplateLoader loader;
|
private TemplateLoader loader;
|
||||||
private EmbeddedTagResult function(string content, string[string] attributes)[string] embeddedTagTranslators;
|
private EmbeddedTagResult function(string content, AttributesHolder attributes)[string] embeddedTagTranslators;
|
||||||
|
|
||||||
/++
|
/++
|
||||||
|
|
||||||
+/
|
+/
|
||||||
this(TemplateLoader loader = null, EmbeddedTagResult function(string content, string[string] attributes)[string] embeddedTagTranslators = null) {
|
this(TemplateLoader loader = null, EmbeddedTagResult function(string content, AttributesHolder attributes)[string] embeddedTagTranslators = null) {
|
||||||
if(loader is null)
|
if(loader is null)
|
||||||
loader = TemplateLoader.forDirectory("templates/");
|
loader = TemplateLoader.forDirectory("templates/");
|
||||||
this.loader = loader;
|
this.loader = loader;
|
||||||
|
|
Loading…
Reference in New Issue