Browse Source

Add the possibility to attach custom attributes on traits. Closes #589

pull/652/head
Artur Arseniev 8 years ago
parent
commit
14a9118b60
  1. 4
      src/trait_manager/view/TraitView.js

4
src/trait_manager/view/TraitView.js

@ -6,6 +6,10 @@ module.exports = Backbone.View.extend({
'change': 'onChange'
},
attributes() {
return this.model.get('attributes');
},
initialize(o) {
var md = this.model;
this.config = o.config || {};

Loading…
Cancel
Save