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

Create a transform for {{data}} to {{domData}} #98

Open
chasenlehara opened this issue Mar 29, 2018 · 0 comments
Open

Create a transform for {{data}} to {{domData}} #98

chasenlehara opened this issue Mar 29, 2018 · 0 comments

Comments

@chasenlehara
Copy link
Member

The {{domData}} helper/call expression was added in can-stache 4.3 as a way to use the new can-dom-data package in templates.

This codemod should convert: {{data key value}} to {{domData(key, value)}} and replace uses of can-util/dom/data/ with can-dom-data.

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

No branches or pull requests

1 participant