Code Duplication    Length = 65-65 lines in 2 locations

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

@@ 9723-9787 (lines=65) @@
9720
      }
9721
    });
9722
9723
    var getApi = function () {
9724
      return {
9725
        Selector: Selector,
9726
        Collection: Collection$2,
9727
        ReflowQueue: ReflowQueue,
9728
        Control: Control$1,
9729
        Factory: global$b,
9730
        KeyboardNavigation: KeyboardNavigation,
9731
        Container: Container,
9732
        DragHelper: DragHelper,
9733
        Scrollable: Scrollable,
9734
        Panel: Panel,
9735
        Movable: Movable,
9736
        Resizable: Resizable,
9737
        FloatPanel: FloatPanel,
9738
        Window: Window$$1,
9739
        MessageBox: MessageBox,
9740
        Tooltip: Tooltip,
9741
        Widget: Widget,
9742
        Progress: Progress,
9743
        Notification: Notification,
9744
        Layout: Layout$1,
9745
        AbsoluteLayout: AbsoluteLayout,
9746
        Button: Button,
9747
        ButtonGroup: ButtonGroup,
9748
        Checkbox: Checkbox,
9749
        ComboBox: ComboBox,
9750
        ColorBox: ColorBox,
9751
        PanelButton: PanelButton,
9752
        ColorButton: ColorButton,
9753
        ColorPicker: ColorPicker,
9754
        Path: Path,
9755
        ElementPath: ElementPath,
9756
        FormItem: FormItem,
9757
        Form: Form,
9758
        FieldSet: FieldSet,
9759
        FilePicker: FilePicker,
9760
        FitLayout: FitLayout,
9761
        FlexLayout: FlexLayout,
9762
        FlowLayout: FlowLayout,
9763
        FormatControls: FormatControls,
9764
        GridLayout: GridLayout,
9765
        Iframe: Iframe,
9766
        InfoBox: InfoBox,
9767
        Label: Label,
9768
        Toolbar: Toolbar$1,
9769
        MenuBar: MenuBar,
9770
        MenuButton: MenuButton,
9771
        MenuItem: MenuItem,
9772
        Throbber: Throbber,
9773
        Menu: Menu,
9774
        ListBox: ListBox,
9775
        Radio: Radio,
9776
        ResizeHandle: ResizeHandle,
9777
        SelectBox: SelectBox,
9778
        Slider: Slider,
9779
        Spacer: Spacer,
9780
        SplitButton: SplitButton,
9781
        StackLayout: StackLayout,
9782
        TabPanel: TabPanel,
9783
        TextBox: TextBox,
9784
        DropZone: DropZone,
9785
        BrowseButton: BrowseButton
9786
      };
9787
    };
9788
    var appendTo = function (target) {
9789
      if (target.ui) {
9790
        global$4.each(getApi(), function (ref, key) {

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

@@ 9531-9595 (lines=65) @@
9528
      }
9529
    });
9530
9531
    var getApi = function () {
9532
      return {
9533
        Selector: Selector,
9534
        Collection: Collection$2,
9535
        ReflowQueue: ReflowQueue,
9536
        Control: Control$1,
9537
        Factory: global$4,
9538
        KeyboardNavigation: KeyboardNavigation,
9539
        Container: Container,
9540
        DragHelper: DragHelper,
9541
        Scrollable: Scrollable,
9542
        Panel: Panel,
9543
        Movable: Movable,
9544
        Resizable: Resizable,
9545
        FloatPanel: FloatPanel,
9546
        Window: Window$$1,
9547
        MessageBox: MessageBox,
9548
        Tooltip: Tooltip,
9549
        Widget: Widget,
9550
        Progress: Progress,
9551
        Notification: Notification,
9552
        Layout: Layout,
9553
        AbsoluteLayout: AbsoluteLayout,
9554
        Button: Button,
9555
        ButtonGroup: ButtonGroup,
9556
        Checkbox: Checkbox,
9557
        ComboBox: ComboBox,
9558
        ColorBox: ColorBox,
9559
        PanelButton: PanelButton,
9560
        ColorButton: ColorButton,
9561
        ColorPicker: ColorPicker,
9562
        Path: Path,
9563
        ElementPath: ElementPath,
9564
        FormItem: FormItem,
9565
        Form: Form,
9566
        FieldSet: FieldSet,
9567
        FilePicker: FilePicker,
9568
        FitLayout: FitLayout,
9569
        FlexLayout: FlexLayout,
9570
        FlowLayout: FlowLayout,
9571
        FormatControls: FormatControls,
9572
        GridLayout: GridLayout,
9573
        Iframe: Iframe$1,
9574
        InfoBox: InfoBox,
9575
        Label: Label,
9576
        Toolbar: Toolbar$1,
9577
        MenuBar: MenuBar,
9578
        MenuButton: MenuButton,
9579
        MenuItem: MenuItem,
9580
        Throbber: Throbber,
9581
        Menu: Menu,
9582
        ListBox: ListBox,
9583
        Radio: Radio,
9584
        ResizeHandle: ResizeHandle,
9585
        SelectBox: SelectBox,
9586
        Slider: Slider,
9587
        Spacer: Spacer,
9588
        SplitButton: SplitButton,
9589
        StackLayout: StackLayout,
9590
        TabPanel: TabPanel,
9591
        TextBox: TextBox,
9592
        DropZone: DropZone,
9593
        BrowseButton: BrowseButton
9594
      };
9595
    };
9596
    var appendTo = function (target) {
9597
      if (target.ui) {
9598
        global$2.each(getApi(), function (ref, key) {