andrewdavey / andrewdavey/cassette

Hogan Template Not Given Enough Info To Invoke Lambdas

Ouverte
#298 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Bug
Langage dominant
C#
Étoiles
531
Forks
139
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

In the HoganCompiler, the stringified functions created by calling:
`return Hogan.compile(template, { asString: true });`

This populates a Hogan.Template instance. This instance only has the `r` functions set from the aforementioned step. However, the `c` property (a reference to Hogan.Complier), the `text` property (the original string), and the `options` aren't provided.

Calling Hogan.Complie on the client will property set all of this for you, but it obviously defeats the purpose of precompiling on the server.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.