Code Duplication    Length = 23-23 lines in 2 locations

public/js/tinymce/themes/modern/theme.js 1 location

@@ 4540-4562 (lines=23) @@
4537
    handleWindowResize();
4538
4539
    var MessageBox = Window$$1.extend({
4540
      init: function (settings) {
4541
        settings = {
4542
          border: 1,
4543
          padding: 20,
4544
          layout: 'flex',
4545
          pack: 'center',
4546
          align: 'center',
4547
          containerCls: 'panel',
4548
          autoScroll: true,
4549
          buttons: {
4550
            type: 'button',
4551
            text: 'Ok',
4552
            action: 'ok'
4553
          },
4554
          items: {
4555
            type: 'label',
4556
            multiline: true,
4557
            maxWidth: 500,
4558
            maxHeight: 200
4559
          }
4560
        };
4561
        this._super(settings);
4562
      },
4563
      Statics: {
4564
        OK: 1,
4565
        OK_CANCEL: 2,

public/js/tinymce/themes/inlite/theme.js 1 location

@@ 4018-4040 (lines=23) @@
4015
    handleWindowResize();
4016
4017
    var MessageBox = Window$$1.extend({
4018
      init: function (settings) {
4019
        settings = {
4020
          border: 1,
4021
          padding: 20,
4022
          layout: 'flex',
4023
          pack: 'center',
4024
          align: 'center',
4025
          containerCls: 'panel',
4026
          autoScroll: true,
4027
          buttons: {
4028
            type: 'button',
4029
            text: 'Ok',
4030
            action: 'ok'
4031
          },
4032
          items: {
4033
            type: 'label',
4034
            multiline: true,
4035
            maxWidth: 500,
4036
            maxHeight: 200
4037
          }
4038
        };
4039
        this._super(settings);
4040
      },
4041
      Statics: {
4042
        OK: 1,
4043
        OK_CANCEL: 2,