Code Duplication    Length = 4-4 lines in 2 locations

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

@@ 8355-8358 (lines=4) @@
8352
      help: function (state) {
8353
        this.state.set('help', state);
8354
      },
8355
      renderHtml: function () {
8356
        var self = this, prefix = self.classPrefix;
8357
        return '<div id="' + self._id + '" class="' + self.classes + '">' + '<div id="' + self._id + '-body">' + self.encode(self.state.get('text')) + '<button role="button" tabindex="-1">' + '<i class="' + prefix + 'ico ' + prefix + 'i-help"></i>' + '</button>' + '</div>' + '</div>';
8358
      },
8359
      bindStates: function () {
8360
        var self = this;
8361
        self.state.on('change:text', function (e) {

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

@@ 8197-8200 (lines=4) @@
8194
      help: function (state) {
8195
        this.state.set('help', state);
8196
      },
8197
      renderHtml: function () {
8198
        var self = this, prefix = self.classPrefix;
8199
        return '<div id="' + self._id + '" class="' + self.classes + '">' + '<div id="' + self._id + '-body">' + self.encode(self.state.get('text')) + '<button role="button" tabindex="-1">' + '<i class="' + prefix + 'ico ' + prefix + 'i-help"></i>' + '</button>' + '</div>' + '</div>';
8200
      },
8201
      bindStates: function () {
8202
        var self = this;
8203
        self.state.on('change:text', function (e) {