Skip to content

can't create variable named 'filename' with partials #17

@blmarket

Description

@blmarket

Simple example

<% var filename='asdf'; %>
<%- partial(filename) %>

fails because 'asdf' overwrites options.filename

it seems to be fixed easily if options.filename is changed to this.filename

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions