Skip to content

helpers aren't resolved when variables are defined in the same template #7

@jonschlinkert

Description

@jonschlinkert

I'm not sure if this is a bug with async-helpers, but it seems to be.

Example:

{% var foo = "bar" %}
{%= console.log(foo) %}

logs out an async id for foo.

Maybe we can expose the helper ids and related objects on the context, along with a convenience method for resolving a value from an id... not sure how or if this would work, but just wanted to throw it out there.

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