Constructor
new KssBuilderHandlebars()
Create a builder object.
- Source:
Methods
prepare(styleGuide) → {Promise.<KssStyleGuide>}
Allow the builder to preform pre-build tasks or modify the KssStyleGuide object.
The method can be set by any KssBuilderBase sub-class to do any custom tasks after the KssStyleGuide object is created and before the HTML style guide is built.
The builder could also take this opportunity to do tasks like special handling of "custom" properties or running Sass or Bower tasks.
The parent class sets up access for this builder to an object containing
the options of the requested build (as this.options
), and the global
Handlebars object (as this.Handlebars
).
Parameters:
Name | Type | Description |
---|---|---|
styleGuide |
KssStyleGuide | The KSS style guide in object format. |
- Source:
Returns:
A Promise
object resolving to a
KssStyleGuide
object.
- Type
- Promise.<KssStyleGuide>