Skip to content

Instantly share code, notes, and snippets.

@delfrrr delfrrr/model-decl.js
Last active Aug 29, 2015

Embed
What would you like to do?
BEM.Model.Attribute.delc('custom', {
parse: function () {
//..
}
});
BEM.Model.delc('model', {
attributes: {
a: {
type: 'custom'
},
collection: {
type: 'model-list',
modelType: 'model'
}
}
});
var model = BEM.blocks['model'].create();
var model = BN('model').create();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.