danielguillan / bem-constructor

A Sass library for building immutable and namespaced BEM CSS objects
MIT License
541 stars 32 forks source link

Check for uninitialized elements when scoping modifiers #2

Open danielguillan opened 9 years ago

danielguillan commented 9 years ago

Example:

@include block('some-block', 'object') {
    @include modifier('some-modifier') {
        @include modifies-element('some-element') { ... }
    }
}

some-element has not been created. Should we throw an error?