Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2016
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     Sao.View.Form.LabelMixin = Sao.class_(Sao.View.Form.StateWidget, {
  2.         init: function(text, attributes) {
  3.             Sao.View.Form.LabelMixin._super.init.call(this, attributes);
  4.         },
  5.         set_state: function(record) {
  6.             Sao.View.Form.LabelMixin._super.set_state.call(this, record);
  7.             ...
  8.         }
  9.     });
  10.  
  11.     Sao.View.Form.Label = Sao.class_(Sao.View.Form.LabelMixin, {
  12.         class_: 'form-label',
  13.         init: function(text, attributes) {
  14.             Sao.View.Form.Label._super.init.call(this, attributes);
  15.             ...
  16.         },
  17.         set_state: function(record) {
  18.             Sao.View.Form.Label._super.set_state.call(this, record);
  19.         }
  20.     });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement