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

Can I combine DICSS with NUTS? #61

Closed
MrMino opened this issue Apr 30, 2016 · 2 comments
Closed

Can I combine DICSS with NUTS? #61

MrMino opened this issue Apr 30, 2016 · 2 comments

Comments

@MrMino
Copy link

MrMino commented Apr 30, 2016

Can I use DICSS script with NUTS templates?

@reneroth
Copy link

Sure, since NUTS simply returns the parsed string.

var template = 'transition 1s [:easing]';
var obj = {
    easing: 'ease-in-out'
};
var transition = nuts(template, obj);
DICSS.putIn('body', transition);

@Cxarli
Copy link

Cxarli commented May 23, 2016

For those who like CoffeeScript more

template = 'transition 1s [:easing]'
obj = {
    easing: 'ease-in-out'
}
transition = nuts template, obj
DICSS.putIn 'body', transition

@MrMino MrMino closed this as completed Sep 2, 2022
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