Skip to content

[v2.0.1] cannot declare variable without leading dash #38

@aleclarson

Description

@aleclarson

In test/test.jade, you have:

_test  =  [{abc: "lalal"}]
name = function() {}

..which now compiles to:

<_test> =  [{abc: "lalal"}]</_test>
<name>= function() {}</name>

..in pug v2.0.1

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