Skip to content

Variable assignment within templates #44

@joshvermaire

Description

@joshvermaire

After updating to 0.4.0 I am no longer able to assign variables within templates.
e.g.

<% var listItem = list[0]; %><%= listItem.library %>

In this example listItem is undefined when trying to access the library property.

See jsfiddles:
Using 0.3.2: http://jsfiddle.net/joshvermaire/gf84m
Using 0.4.0: http://jsfiddle.net/joshvermaire/gf84m/1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions