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

Add a spy on m to localize class names? #1

Open
pygy opened this issue Jan 17, 2016 · 2 comments
Open

Add a spy on m to localize class names? #1

pygy opened this issue Jan 17, 2016 · 2 comments

Comments

@pygy
Copy link
Member

pygy commented Jan 17, 2016

It may be nice to have

var mx = mithrilJ2c.spy(m, j2c)
mx('.foo.', 'hello') // <div class="foo__j2c-sad76as7fg6d98fsp">hello</div>

What do you think?

@HendrikRoth
Copy link

+1

@StephanHoyer
Copy link
Collaborator

where do you put the definitions than? Can you give a more detailed example?

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