tbseparator.js 357 B

1234567891011121314151617
  1. import _ from 'lodash'
  2. import $ from 'jquery'
  3. export default function () {
  4. /**
  5. *
  6. */
  7. const ct = Ext.toolbar.Separator.prototype.constructor
  8. Ext.toolbar.Separator.override({
  9. constructor: function (config) {
  10. const newConfig = _.defaultsDeep({}, config, {
  11. cls: ['yvan_design']
  12. })
  13. ct.call(this, newConfig)
  14. }
  15. });
  16. }