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

merge bemdecl: lost modifier without values #116

Closed
blond opened this issue Mar 24, 2015 · 0 comments · Fixed by #131
Closed

merge bemdecl: lost modifier without values #116

blond opened this issue Mar 24, 2015 · 0 comments · Fixed by #131
Assignees
Labels
Milestone

Comments

@blond
Copy link
Member

blond commented Mar 24, 2015

bemdecl-1.js

exports.blocks = [{
    name: 'block-1',
    mods: [{ name: 'mod' }]
}];

bemdecl-2.js

exports.blocks = [
    { name: 'block-2' }
];

If merge bemdecl-1.js with bemdecl-2.js:

exports.blocks = [
    { name: 'block-1' },
    { name: 'block-2' }
];

expected:

exports.blocks = [
    {
        name: 'block-1',
        mods: [{ name: 'mod' }]
    },
    { name: 'block-2' }
];
@blond blond added the bug label Mar 24, 2015
@blond blond added this to the 1.0.5 milestone Apr 21, 2015
@blond blond self-assigned this Apr 21, 2015
@blond blond modified the milestones: 1.0.5, 2.0 Jul 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant