Code Duplication    Length = 9-9 lines in 2 locations

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

@@ 9167-9175 (lines=9) @@
9164
    });
9165
9166
    var ResizeHandle = Widget.extend({
9167
      renderHtml: function () {
9168
        var self = this, prefix = self.classPrefix;
9169
        self.classes.add('resizehandle');
9170
        if (self.settings.direction === 'both') {
9171
          self.classes.add('resizehandle-both');
9172
        }
9173
        self.canFocus = false;
9174
        return '<div id="' + self._id + '" class="' + self.classes + '">' + '<i class="' + prefix + 'ico ' + prefix + 'i-resize"></i>' + '</div>';
9175
      },
9176
      postRender: function () {
9177
        var self = this;
9178
        self._super();

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

@@ 8975-8983 (lines=9) @@
8972
    });
8973
8974
    var ResizeHandle = Widget.extend({
8975
      renderHtml: function () {
8976
        var self = this, prefix = self.classPrefix;
8977
        self.classes.add('resizehandle');
8978
        if (self.settings.direction === 'both') {
8979
          self.classes.add('resizehandle-both');
8980
        }
8981
        self.canFocus = false;
8982
        return '<div id="' + self._id + '" class="' + self.classes + '">' + '<i class="' + prefix + 'ico ' + prefix + 'i-resize"></i>' + '</div>';
8983
      },
8984
      postRender: function () {
8985
        var self = this;
8986
        self._super();