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 v1 #78

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

Format to BEMDECL v1 #78

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: 'v1' });

// [{ name: 'button' }]
@blond blond changed the title Add convertation for v1 format Format BEMDECL v1 Dec 9, 2016
@blond blond changed the title Format BEMDECL v1 Format to BEMDECL v1 Dec 9, 2016
@blond blond assigned blond and skad0 and unassigned blond Dec 11, 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