Skip to content

Allow passing arrays into data attribute #15

@darsain

Description

@darsain

Example:

var template = '<li>{{name}}</li>\n';
var data = [
    { name: 'John' },
    { name: 'Billy' }
];
tim(template, data);

Would return:

<li>John</li>
<li>Billy</li>

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