Skip to content

API for compiling one string template? #20

@pwnall

Description

@pwnall

Is there an API that I can use if I want to compile a single Toffee template string into a function that I can call with the context?

This would be useful for integrating Toffee into a system that already has its own caching and partials.

I've been playing with toffee.view and its run, and I'm wondering if that's a good path to follow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions