Closed MrMino closed 1 year ago
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);
For those who like CoffeeScript more
template = 'transition 1s [:easing]'
obj = {
easing: 'ease-in-out'
}
transition = nuts template, obj
DICSS.putIn 'body', transition
Can I use DICSS script with NUTS templates?