Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow passing arrays into data attribute #15

Open
darsain opened this issue Apr 19, 2013 · 2 comments
Open

Allow passing arrays into data attribute #15

darsain opened this issue Apr 19, 2013 · 2 comments

Comments

@darsain
Copy link

darsain commented Apr 19, 2013

Example:

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

Would return:

<li>John</li>
<li>Billy</li>
@premasagar
Copy link
Owner

@darsain, that's a good idea.

@stela5
Copy link

stela5 commented Jul 21, 2013

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants