refactor(loader): Rename TemplateLoader to Loader

This commit is contained in:
Kyle Fuller
2016-11-28 18:25:38 +00:00
parent c59b263446
commit c99a40c5d9
4 changed files with 8 additions and 10 deletions

View File

@@ -59,7 +59,7 @@ class ExtendsNode : NodeType {
}
func render(_ context: Context) throws -> String {
guard let loader = context["loader"] as? TemplateLoader else {
guard let loader = context["loader"] as? Loader else {
throw TemplateSyntaxError("Template loader not in context")
}