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

Nameless view renderers #162

Closed
daffl opened this Issue Nov 19, 2012 · 0 comments

Comments

Projects
None yet
1 participant
@daffl
Contributor

daffl commented Nov 19, 2012

It should be possible to create a nameless view renderer like this:

var ejsRenderer = can.view.ejs('<h2><%= message %></h2>');
var mustacheRenderer = can.view.ejs('<h2>{{ message }}</h2>');

@ghost ghost assigned daffl Nov 19, 2012

@daffl daffl closed this in c022877 Nov 20, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment