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

Format to BEMDECL v2 #77

Open
skad0 opened this issue Nov 25, 2016 · 0 comments
Open

Format to BEMDECL v2 #77

skad0 opened this issue Nov 25, 2016 · 0 comments
Assignees

Comments

@skad0
Copy link
Member

skad0 commented Nov 25, 2016

const decl = require('@bem/decl');
const BemCell = require('@bem/cell');

const cells = [new BemCell({ entity: { block: 'button' }, tech: 'css'  })];

decl.format(cells, { format: 'v2' });

// [{ block: 'button' }]
@blond blond changed the title Add convertation support for v2 format Format to BEMDECL v2 Dec 9, 2016
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

2 participants