TemplateEntityService Class
Service that is used to load the HTML templates from the file system. If the template is available it is compiled.
Methods
get
(
-
key
-
cb
Retrieve a value from the file system. Will callback with an object with two properties. "key" the file path. "parts" an array of objects.
Parameters:
-
key
Stringthe file path to the template
-
cb
FunctionA callback function that takes two parameters: cb(Error, Object)
set
(
-
key
-
value
-
cb
This function is not implemented.
Parameters:
-
key
StringThe absolute file path
-
value
The string content to set
-
cb
FunctionCallback function