API Docs for: 0.8.0
Show:

TemplateEntityService Class

Service that is used to load the HTML templates from the file system. If the template is available it is compiled.

Item Index

Methods

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 String

    the file path to the template

  • cb Function

    A callback function that takes two parameters: cb(Error, Object)

set

(
  • key
  • value
  • cb
)

This function is not implemented.

Parameters:

  • key String

    The absolute file path

  • value

    The string content to set

  • cb Function

    Callback function