Skip to content

Instantly share code, notes, and snippets.

@delfrrr
Last active August 29, 2015 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save delfrrr/4268fd6a429738849514 to your computer and use it in GitHub Desktop.
Save delfrrr/4268fd6a429738849514 to your computer and use it in GitHub Desktop.
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