From a208b81ec21032f7f22845cf2885caa011ca7d88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frank=20Na=CC=88gler?= <frank.naegler@typo3.org> Date: Mon, 12 Oct 2015 10:24:54 +0200 Subject: [PATCH] [TASK] Remove namespace and name of AMD modules The namespace and name of an AMD module is not needed. The resolving of names works without the defined name of a module and should be removed to anonymize the modules. Resolves: #70607 Releases: master Change-Id: I9e1a81d30de7764ffbccf0b0985b55ed5b6cb96d Reviewed-on: http://review.typo3.org/44002 Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl> Tested-by: Wouter Wolters <typo3@wouterwolters.nl> Reviewed-by: Markus Klein <markus.klein@typo3.org> Tested-by: Markus Klein <markus.klein@typo3.org> --- .../backend/Resources/Public/JavaScript/AjaxDataHandler.js | 2 +- typo3/sysext/backend/Resources/Public/JavaScript/ClickMenu.js | 4 ++-- .../sysext/backend/Resources/Public/JavaScript/ContextHelp.js | 2 +- .../backend/Resources/Public/JavaScript/DateTimePicker.js | 2 +- .../backend/Resources/Public/JavaScript/DebugConsole.js | 4 ++-- .../backend/Resources/Public/JavaScript/DocumentHeader.js | 2 +- .../backend/Resources/Public/JavaScript/DragUploader.js | 2 +- .../sysext/backend/Resources/Public/JavaScript/FormEngine.js | 2 +- .../backend/Resources/Public/JavaScript/FormEngineFlexForm.js | 4 ++-- .../backend/Resources/Public/JavaScript/FormEngineSuggest.js | 2 +- .../Resources/Public/JavaScript/FormEngineValidation.js | 2 +- .../backend/Resources/Public/JavaScript/ImageManipulation.js | 2 +- .../backend/Resources/Public/JavaScript/LegacyCssClasses.js | 4 ++-- .../sysext/backend/Resources/Public/JavaScript/LiveSearch.js | 2 +- typo3/sysext/backend/Resources/Public/JavaScript/Login.js | 2 +- .../backend/Resources/Public/JavaScript/LoginRefresh.js | 2 +- typo3/sysext/backend/Resources/Public/JavaScript/Modal.js | 2 +- .../backend/Resources/Public/JavaScript/Notification.js | 2 +- .../sysext/backend/Resources/Public/JavaScript/OnlineMedia.js | 2 +- .../sysext/backend/Resources/Public/JavaScript/PageActions.js | 2 +- typo3/sysext/backend/Resources/Public/JavaScript/Popover.js | 2 +- .../backend/Resources/Public/JavaScript/SplitButtons.js | 2 +- typo3/sysext/backend/Resources/Public/JavaScript/Storage.js | 2 +- typo3/sysext/backend/Resources/Public/JavaScript/Tabs.js | 2 +- .../Resources/Public/JavaScript/ToggleSearchToolbox.js | 2 +- .../Resources/Public/JavaScript/Toolbar/ClearCacheMenu.js | 4 ++-- .../Resources/Public/JavaScript/Toolbar/ShortcutMenu.js | 2 +- .../Public/JavaScript/Toolbar/SystemInformationMenu.js | 2 +- typo3/sysext/backend/Resources/Public/JavaScript/Tooltip.js | 2 +- .../backend/Resources/Public/JavaScript/UserPassLogin.js | 2 +- typo3/sysext/backend/Resources/Public/JavaScript/Utility.js | 2 +- .../sysext/backend/Resources/Public/JavaScript/ValueSlider.js | 2 +- .../backend/Resources/Public/JavaScript/Wizard/Colorpicker.js | 4 ++-- .../beuser/Resources/Public/JavaScript/BackendUserListing.js | 4 ++-- .../sysext/beuser/Resources/Public/JavaScript/Permissions.js | 2 +- .../sysext/core/Resources/Public/JavaScript/QueryGenerator.js | 2 +- .../sysext/documentation/Resources/Public/JavaScript/Main.js | 4 ++-- typo3/sysext/filelist/Resources/Public/JavaScript/FileList.js | 2 +- .../Resources/Public/JavaScript/FileListLocalisation.js | 4 ++-- .../sysext/filelist/Resources/Public/JavaScript/FileSearch.js | 4 ++-- .../sysext/impexp/Resources/Public/JavaScript/ImportExport.js | 2 +- typo3/sysext/lang/Resources/Public/JavaScript/Lang.js | 2 +- .../sysext/lang/Resources/Public/JavaScript/LanguageModule.js | 2 +- .../Resources/Public/JavaScript/Linkvalidator.js | 2 +- .../Resources/Public/JavaScript/Toolbar/OpendocsMenu.js | 2 +- .../recordlist/Resources/Public/JavaScript/BrowseDatabase.js | 2 +- .../recordlist/Resources/Public/JavaScript/BrowseFiles.js | 2 +- .../recordlist/Resources/Public/JavaScript/BrowseFolders.js | 2 +- .../recordlist/Resources/Public/JavaScript/ElementBrowser.js | 2 +- .../recordlist/Resources/Public/JavaScript/FieldSelectBox.js | 2 +- .../recordlist/Resources/Public/JavaScript/FileLinkHandler.js | 2 +- .../recordlist/Resources/Public/JavaScript/LinkBrowser.js | 2 +- .../recordlist/Resources/Public/JavaScript/MailLinkHandler.js | 2 +- .../recordlist/Resources/Public/JavaScript/PageLinkHandler.js | 2 +- .../recordlist/Resources/Public/JavaScript/Recordlist.js | 2 +- .../sysext/recordlist/Resources/Public/JavaScript/Tooltip.js | 2 +- .../recordlist/Resources/Public/JavaScript/UrlLinkHandler.js | 2 +- .../Resources/Public/JavaScript/RsaEncryptionModule.js | 2 +- .../Resources/Public/JavaScript/HTMLArea/Ajax/Ajax.js | 3 +-- .../Resources/Public/JavaScript/HTMLArea/CSS/Parser.js | 3 +-- .../Public/JavaScript/HTMLArea/Configuration/Config.js | 3 +-- .../Resources/Public/JavaScript/HTMLArea/DOM/BookMark.js | 3 +-- .../Resources/Public/JavaScript/HTMLArea/DOM/DOM.js | 3 +-- .../Resources/Public/JavaScript/HTMLArea/DOM/Node.js | 3 +-- .../Resources/Public/JavaScript/HTMLArea/DOM/Selection.js | 3 +-- .../Resources/Public/JavaScript/HTMLArea/DOM/Walker.js | 3 +-- .../Resources/Public/JavaScript/HTMLArea/Editor/Editor.js | 3 +-- .../Resources/Public/JavaScript/HTMLArea/Editor/Framework.js | 3 +-- .../Resources/Public/JavaScript/HTMLArea/Editor/Iframe.js | 3 +-- .../Resources/Public/JavaScript/HTMLArea/Editor/StatusBar.js | 3 +-- .../Public/JavaScript/HTMLArea/Editor/TextAreaContainer.js | 3 +-- .../Resources/Public/JavaScript/HTMLArea/Editor/Toolbar.js | 3 +-- .../Resources/Public/JavaScript/HTMLArea/Event/Event.js | 3 +-- .../Resources/Public/JavaScript/HTMLArea/Event/KeyMap.js | 3 +-- .../Public/JavaScript/HTMLArea/Extjs/ColorPalette.js | 3 +-- .../Public/JavaScript/HTMLArea/Extjs/ux/ColorMenu.js | 3 +-- .../Public/JavaScript/HTMLArea/Extjs/ux/ColorPaletteField.js | 3 +-- .../Resources/Public/JavaScript/HTMLArea/HTMLArea.js | 3 +-- .../Resources/Public/JavaScript/HTMLArea/Plugin/Plugin.js | 3 +-- .../Resources/Public/JavaScript/HTMLArea/Toolbar/Button.js | 3 +-- .../Resources/Public/JavaScript/HTMLArea/Toolbar/Select.js | 3 +-- .../Public/JavaScript/HTMLArea/Toolbar/ToolbarText.js | 3 +-- .../Public/JavaScript/HTMLArea/UserAgent/UserAgent.js | 2 +- .../Resources/Public/JavaScript/HTMLArea/Util/Color.js | 2 +- .../Resources/Public/JavaScript/HTMLArea/Util/Resizable.js | 3 +-- .../Resources/Public/JavaScript/HTMLArea/Util/String.js | 3 +-- .../Resources/Public/JavaScript/HTMLArea/Util/TYPO3.js | 3 +-- .../Resources/Public/JavaScript/HTMLArea/Util/Tips.js | 3 +-- .../Resources/Public/JavaScript/HTMLArea/Util/Util.js | 3 +-- .../Resources/Public/JavaScript/Modules/SelectImage.js | 2 +- .../Resources/Public/JavaScript/Plugins/Abbreviation.js | 3 +-- .../Resources/Public/JavaScript/Plugins/AboutEditor.js | 3 +-- .../Resources/Public/JavaScript/Plugins/BlockElements.js | 3 +-- .../Resources/Public/JavaScript/Plugins/BlockStyle.js | 3 +-- .../Resources/Public/JavaScript/Plugins/CharacterMap.js | 3 +-- .../Resources/Public/JavaScript/Plugins/ContextMenu.js | 3 +-- .../Resources/Public/JavaScript/Plugins/CopyPaste.js | 3 +-- .../Resources/Public/JavaScript/Plugins/DefaultClean.js | 3 +-- .../Resources/Public/JavaScript/Plugins/DefaultImage.js | 3 +-- .../Resources/Public/JavaScript/Plugins/DefaultInline.js | 3 +-- .../Resources/Public/JavaScript/Plugins/DefaultLink.js | 3 +-- .../Resources/Public/JavaScript/Plugins/DefinitionList.js | 3 +-- .../Resources/Public/JavaScript/Plugins/EditElement.js | 3 +-- .../Resources/Public/JavaScript/Plugins/EditorMode.js | 3 +-- .../Resources/Public/JavaScript/Plugins/FindReplace.js | 3 +-- .../Resources/Public/JavaScript/Plugins/InlineElements.js | 3 +-- .../Resources/Public/JavaScript/Plugins/InsertSmiley.js | 3 +-- .../Resources/Public/JavaScript/Plugins/Language.js | 3 +-- .../Resources/Public/JavaScript/Plugins/MicrodataSchema.js | 3 +-- .../Resources/Public/JavaScript/Plugins/PlainText.js | 3 +-- .../Resources/Public/JavaScript/Plugins/QuickTag.js | 3 +-- .../Resources/Public/JavaScript/Plugins/RemoveFormat.js | 3 +-- .../Resources/Public/JavaScript/Plugins/SelectFont.js | 3 +-- .../Resources/Public/JavaScript/Plugins/SpellChecker.js | 3 +-- .../Resources/Public/JavaScript/Plugins/TYPO3Color.js | 3 +-- .../Resources/Public/JavaScript/Plugins/TYPO3HtmlParser.js | 3 +-- .../Resources/Public/JavaScript/Plugins/TYPO3Image.js | 3 +-- .../Resources/Public/JavaScript/Plugins/TYPO3Link.js | 3 +-- .../Resources/Public/JavaScript/Plugins/TableOperations.js | 3 +-- .../Resources/Public/JavaScript/Plugins/TextIndicator.js | 3 +-- .../Resources/Public/JavaScript/Plugins/TextStyle.js | 3 +-- .../Resources/Public/JavaScript/Plugins/UndoRedo.js | 3 +-- .../Resources/Public/JavaScript/Plugins/UserElements.js | 3 +-- .../rtehtmlarea/Resources/Public/JavaScript/RteLinkBrowser.js | 2 +- .../sysext/scheduler/Resources/Public/JavaScript/Scheduler.js | 2 +- .../sys_action/Resources/Public/JavaScript/ActionTask.js | 2 +- typo3/sysext/t3editor/Resources/Public/JavaScript/FileEdit.js | 2 +- .../JavaScript/Plugins/CodeCompletion/CompletionResult.js | 4 ++-- .../JavaScript/Plugins/CodeCompletion/DescriptionPlugin.js | 4 ++-- .../JavaScript/Plugins/CodeCompletion/TsCodeCompletion.js | 4 ++-- .../Public/JavaScript/Plugins/CodeCompletion/TsParser.js | 4 ++-- .../Public/JavaScript/Plugins/CodeCompletion/TsRef.js | 2 +- typo3/sysext/t3editor/Resources/Public/JavaScript/T3editor.js | 2 +- .../taskcenter/Resources/Public/JavaScript/Taskcenter.js | 2 +- .../tstemplate/Resources/Public/JavaScript/ConstantEditor.js | 4 ++-- .../Resources/Public/JavaScript/TypoScriptObjectBrowser.js | 4 ++-- .../Resources/Public/JavaScript/WizardCreatePages.js | 2 +- .../Resources/Public/JavaScript/Toolbar/WorkspacesMenu.js | 2 +- 138 files changed, 154 insertions(+), 216 deletions(-) diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/AjaxDataHandler.js b/typo3/sysext/backend/Resources/Public/JavaScript/AjaxDataHandler.js index 231d3cd8a68b..0ed59a2e9494 100644 --- a/typo3/sysext/backend/Resources/Public/JavaScript/AjaxDataHandler.js +++ b/typo3/sysext/backend/Resources/Public/JavaScript/AjaxDataHandler.js @@ -14,7 +14,7 @@ /** * AjaxDataHandler - Javascript functions to work with AJAX and interacting with tce_db.php */ -define('TYPO3/CMS/Backend/AjaxDataHandler', ['jquery', 'TYPO3/CMS/Backend/Notification', 'TYPO3/CMS/Backend/Modal'], function ($) { +define(['jquery', 'TYPO3/CMS/Backend/Notification', 'TYPO3/CMS/Backend/Modal'], function ($) { 'use strict'; var AjaxDataHandler = {}; diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/ClickMenu.js b/typo3/sysext/backend/Resources/Public/JavaScript/ClickMenu.js index 0901a6c1414a..92c1f74a0f20 100644 --- a/typo3/sysext/backend/Resources/Public/JavaScript/ClickMenu.js +++ b/typo3/sysext/backend/Resources/Public/JavaScript/ClickMenu.js @@ -15,7 +15,7 @@ * Javascript container used to load the clickmenu via AJAX * to render the result in a layer next to the mouse cursor */ -define('TYPO3/CMS/Backend/ClickMenu', ['jquery'], function($) { +define(['jquery'], function($) { var ClickMenu = { mousePos: { @@ -274,4 +274,4 @@ function showClickmenu_raw(url) { } else { TYPO3.ClickMenu.fetch(url); } -} \ No newline at end of file +} diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/ContextHelp.js b/typo3/sysext/backend/Resources/Public/JavaScript/ContextHelp.js index 2c5d2d4c0e0e..592e272349d7 100644 --- a/typo3/sysext/backend/Resources/Public/JavaScript/ContextHelp.js +++ b/typo3/sysext/backend/Resources/Public/JavaScript/ContextHelp.js @@ -14,7 +14,7 @@ /** * API for context help. */ -define('TYPO3/CMS/Backend/ContextHelp', ['jquery', 'TYPO3/CMS/Backend/Popover', 'bootstrap'], function($) { +define(['jquery', 'TYPO3/CMS/Backend/Popover', 'bootstrap'], function($) { /** * The main ContextHelp object diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/DateTimePicker.js b/typo3/sysext/backend/Resources/Public/JavaScript/DateTimePicker.js index 85ca527f64e5..f4512049c930 100644 --- a/typo3/sysext/backend/Resources/Public/JavaScript/DateTimePicker.js +++ b/typo3/sysext/backend/Resources/Public/JavaScript/DateTimePicker.js @@ -15,7 +15,7 @@ * contains all logic for the date time picker used in FormEngine * and EXT:belog and EXT:scheduler */ -define('TYPO3/CMS/Backend/DateTimePicker', ['jquery'], function ($) { +define(['jquery'], function ($) { var DateTimePicker = { options: { diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/DebugConsole.js b/typo3/sysext/backend/Resources/Public/JavaScript/DebugConsole.js index 4f8fcac9daed..1f69726dcfce 100644 --- a/typo3/sysext/backend/Resources/Public/JavaScript/DebugConsole.js +++ b/typo3/sysext/backend/Resources/Public/JavaScript/DebugConsole.js @@ -14,7 +14,7 @@ /** * The debug console shown at the bottom of the backend */ -define('TYPO3/CMS/Backend/DebugConsole', ['jquery'], function ($) { +define(['jquery'], function ($) { var DebugConsole = { $consoleDom: null, settings: { @@ -262,4 +262,4 @@ define('TYPO3/CMS/Backend/DebugConsole', ['jquery'], function ($) { TYPO3.DebugConsole = DebugConsole; return DebugConsole; }(); -}); \ No newline at end of file +}); diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/DocumentHeader.js b/typo3/sysext/backend/Resources/Public/JavaScript/DocumentHeader.js index df7ce55d5250..c29b233903ba 100644 --- a/typo3/sysext/backend/Resources/Public/JavaScript/DocumentHeader.js +++ b/typo3/sysext/backend/Resources/Public/JavaScript/DocumentHeader.js @@ -14,7 +14,7 @@ /** * Calculates the height of the docHeader and hides it upon scrolling */ -define('TYPO3/CMS/Backend/DocumentHeader', ['jquery'], function($) { +define(['jquery'], function($) { "use strict"; var DocumentHeader = { diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/DragUploader.js b/typo3/sysext/backend/Resources/Public/JavaScript/DragUploader.js index bb94c81cd251..32c978937447 100644 --- a/typo3/sysext/backend/Resources/Public/JavaScript/DragUploader.js +++ b/typo3/sysext/backend/Resources/Public/JavaScript/DragUploader.js @@ -15,7 +15,7 @@ * JavaScript RequireJS module called "TYPO3/CMS/Backend/DragUploader" * */ -define('TYPO3/CMS/Backend/DragUploader', ['jquery', 'moment', 'nprogress', 'TYPO3/CMS/Lang/Lang', 'TYPO3/CMS/Backend/Modal'], function($, moment, NProgress) { +define(['jquery', 'moment', 'nprogress', 'TYPO3/CMS/Lang/Lang', 'TYPO3/CMS/Backend/Modal'], function($, moment, NProgress) { /** * Array of files which are asked for being overridden diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/FormEngine.js b/typo3/sysext/backend/Resources/Public/JavaScript/FormEngine.js index 43bf38ab0781..cb55043d34e7 100644 --- a/typo3/sysext/backend/Resources/Public/JavaScript/FormEngine.js +++ b/typo3/sysext/backend/Resources/Public/JavaScript/FormEngine.js @@ -28,7 +28,7 @@ var setFormValueOpenBrowser ,setFormValue_getFObj; -define('TYPO3/CMS/Backend/FormEngine', ['jquery'], function ($) { +define(['jquery'], function ($) { // main options var FormEngine = { diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/FormEngineFlexForm.js b/typo3/sysext/backend/Resources/Public/JavaScript/FormEngineFlexForm.js index 02caa235061e..237b95773cea 100644 --- a/typo3/sysext/backend/Resources/Public/JavaScript/FormEngineFlexForm.js +++ b/typo3/sysext/backend/Resources/Public/JavaScript/FormEngineFlexForm.js @@ -20,7 +20,7 @@ * which can contain one ore more sections */ -define('TYPO3/CMS/Backend/FormEngineFlexForm', ['jquery', 'TYPO3/CMS/Backend/FormEngine'], function ($) { +define(['jquery', 'TYPO3/CMS/Backend/FormEngine'], function ($) { TYPO3.FormEngine.FlexFormElement = function(el, options) { var me = this; // avoid scope issues @@ -216,4 +216,4 @@ define('TYPO3/CMS/Backend/FormEngineFlexForm', ['jquery', 'TYPO3/CMS/Backend/For // run the flexform functions on all containers (which contains one or more sections) $('.t3-flex-container').t3FormEngineFlexFormElement(); }); -}); \ No newline at end of file +}); diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/FormEngineSuggest.js b/typo3/sysext/backend/Resources/Public/JavaScript/FormEngineSuggest.js index 2e7cc299c3c6..ca116f9892aa 100644 --- a/typo3/sysext/backend/Resources/Public/JavaScript/FormEngineSuggest.js +++ b/typo3/sysext/backend/Resources/Public/JavaScript/FormEngineSuggest.js @@ -14,7 +14,7 @@ /** * Functionality to load suggest functionality */ -define('TYPO3/CMS/Backend/FormEngineSuggest', ['jquery', 'jquery/autocomplete'], function ($) { +define(['jquery', 'jquery/autocomplete'], function ($) { var initialize = function($searchField) { var $containerElement = $searchField.closest('.t3-form-suggest-container'); var table = $searchField.data('table'), diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/FormEngineValidation.js b/typo3/sysext/backend/Resources/Public/JavaScript/FormEngineValidation.js index 9ce8af0b57e4..c4b1ba02b864 100644 --- a/typo3/sysext/backend/Resources/Public/JavaScript/FormEngineValidation.js +++ b/typo3/sysext/backend/Resources/Public/JavaScript/FormEngineValidation.js @@ -15,7 +15,7 @@ * contains all JS functions related to TYPO3 TCEforms/FormEngineValidation * @internal */ -define('TYPO3/CMS/Backend/FormEngineValidation', ['jquery', 'TYPO3/CMS/Backend/FormEngine'], function ($, FormEngine) { +define(['jquery', 'TYPO3/CMS/Backend/FormEngine'], function ($, FormEngine) { /** * The main FormEngineValidation object diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/ImageManipulation.js b/typo3/sysext/backend/Resources/Public/JavaScript/ImageManipulation.js index 386f29f924fb..5e2cbb36e518 100644 --- a/typo3/sysext/backend/Resources/Public/JavaScript/ImageManipulation.js +++ b/typo3/sysext/backend/Resources/Public/JavaScript/ImageManipulation.js @@ -14,7 +14,7 @@ /** * contains all logic for the image crop GUI */ -define('TYPO3/CMS/Backend/ImageManipulation', ['jquery', 'TYPO3/CMS/Backend/Modal'], function ($) { +define(['jquery', 'TYPO3/CMS/Backend/Modal'], function ($) { var ImageManipulation = { margin: 20, diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/LegacyCssClasses.js b/typo3/sysext/backend/Resources/Public/JavaScript/LegacyCssClasses.js index f34686c8daab..a217b37f5414 100644 --- a/typo3/sysext/backend/Resources/Public/JavaScript/LegacyCssClasses.js +++ b/typo3/sysext/backend/Resources/Public/JavaScript/LegacyCssClasses.js @@ -14,7 +14,7 @@ /** * JavaScript replacement for Legacy CSS Classes */ -define('TYPO3/CMS/Backend/LegacyCssClasses', ['jquery'], function($) { +define(['jquery'], function($) { var LegacyCssClasses = { replacements: [ { @@ -54,4 +54,4 @@ define('TYPO3/CMS/Backend/LegacyCssClasses', ['jquery'], function($) { return LegacyCssClasses; }(); -}); \ No newline at end of file +}); diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/LiveSearch.js b/typo3/sysext/backend/Resources/Public/JavaScript/LiveSearch.js index dec2649a3cd3..3b7212152ff9 100644 --- a/typo3/sysext/backend/Resources/Public/JavaScript/LiveSearch.js +++ b/typo3/sysext/backend/Resources/Public/JavaScript/LiveSearch.js @@ -14,7 +14,7 @@ /** * Global search to deal with everything in the backend that is search-related */ -define('TYPO3/CMS/Backend/LiveSearch', ['jquery', 'jquery/autocomplete', 'TYPO3/CMS/Backend/jquery.clearable'], function ($) { +define(['jquery', 'jquery/autocomplete', 'TYPO3/CMS/Backend/jquery.clearable'], function ($) { var containerSelector = '#typo3-cms-backend-backend-toolbaritems-livesearchtoolbaritem'; var searchFieldSelector = '.t3js-topbar-navigation-search-field'; diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/Login.js b/typo3/sysext/backend/Resources/Public/JavaScript/Login.js index b6905b17e151..af22c24b9335 100755 --- a/typo3/sysext/backend/Resources/Public/JavaScript/Login.js +++ b/typo3/sysext/backend/Resources/Public/JavaScript/Login.js @@ -14,7 +14,7 @@ /** * JavaScript module for the backend login form */ -define('TYPO3/CMS/Backend/Login', ['jquery', 'TYPO3/CMS/Backend/jquery.clearable', 'bootstrap'], function($) { +define(['jquery', 'TYPO3/CMS/Backend/jquery.clearable', 'bootstrap'], function($) { var BackendLogin = { options: { loginForm: '#typo3-login-form', diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/LoginRefresh.js b/typo3/sysext/backend/Resources/Public/JavaScript/LoginRefresh.js index dc68d0494192..889d89e050bb 100644 --- a/typo3/sysext/backend/Resources/Public/JavaScript/LoginRefresh.js +++ b/typo3/sysext/backend/Resources/Public/JavaScript/LoginRefresh.js @@ -15,7 +15,7 @@ * Task that periodically checks if a blocking event in the backend occurred and * displays a proper dialog to the user. */ -define('TYPO3/CMS/Backend/LoginRefresh', ['jquery', 'bootstrap'], function($) { +define(['jquery', 'bootstrap'], function($) { var LoginRefresh = { identifier: { loginrefresh: 't3-modal-loginrefresh', diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/Modal.js b/typo3/sysext/backend/Resources/Public/JavaScript/Modal.js index 4d8074537541..111879543a2a 100644 --- a/typo3/sysext/backend/Resources/Public/JavaScript/Modal.js +++ b/typo3/sysext/backend/Resources/Public/JavaScript/Modal.js @@ -15,7 +15,7 @@ * API for modal windows powered by Twitter Bootstrap. * This module depends on TYPO3/CMS/Backend/Notification due to top.TYPO3.Severity. */ -define('TYPO3/CMS/Backend/Modal', ['jquery', 'TYPO3/CMS/Backend/Notification', 'bootstrap'], function($) { +define(['jquery', 'TYPO3/CMS/Backend/Notification', 'bootstrap'], function($) { /** * The main object of the modal API diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/Notification.js b/typo3/sysext/backend/Resources/Public/JavaScript/Notification.js index 2c36b6abe6ab..869cb719b931 100644 --- a/typo3/sysext/backend/Resources/Public/JavaScript/Notification.js +++ b/typo3/sysext/backend/Resources/Public/JavaScript/Notification.js @@ -15,7 +15,7 @@ * Notification API for the TYPO3 backend */ -define('TYPO3/CMS/Backend/Notification', ['jquery'], function ($) { +define(['jquery'], function ($) { /** * Severity object diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/OnlineMedia.js b/typo3/sysext/backend/Resources/Public/JavaScript/OnlineMedia.js index 85244f175057..dc02d0178773 100644 --- a/typo3/sysext/backend/Resources/Public/JavaScript/OnlineMedia.js +++ b/typo3/sysext/backend/Resources/Public/JavaScript/OnlineMedia.js @@ -14,7 +14,7 @@ /** * Javascript for show the online media dialog */ -define('TYPO3/CMS/Backend/OnlineMedia', ['jquery', 'nprogress', 'TYPO3/CMS/Lang/Lang', 'TYPO3/CMS/Backend/Modal'], function($, NProgress) { +define(['jquery', 'nprogress', 'TYPO3/CMS/Lang/Lang', 'TYPO3/CMS/Backend/Modal'], function($, NProgress) { "use strict"; var OnlineMediaPlugin = function(element) { diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/PageActions.js b/typo3/sysext/backend/Resources/Public/JavaScript/PageActions.js index ca21caf965e1..e984ed406817 100644 --- a/typo3/sysext/backend/Resources/Public/JavaScript/PageActions.js +++ b/typo3/sysext/backend/Resources/Public/JavaScript/PageActions.js @@ -14,7 +14,7 @@ /** * JavaScript implementations for page actions */ -define('TYPO3/CMS/Backend/PageActions', ['jquery'], function($) { +define(['jquery'], function($) { 'use strict'; var PageActions = { diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/Popover.js b/typo3/sysext/backend/Resources/Public/JavaScript/Popover.js index 698a49473cd7..caf5488f04b9 100644 --- a/typo3/sysext/backend/Resources/Public/JavaScript/Popover.js +++ b/typo3/sysext/backend/Resources/Public/JavaScript/Popover.js @@ -14,7 +14,7 @@ /** * API for popover windows powered by Twitter Bootstrap. */ -define('TYPO3/CMS/Backend/Popover', ['jquery', 'bootstrap'], function($) { +define(['jquery', 'bootstrap'], function($) { /** * the main popover object diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/SplitButtons.js b/typo3/sysext/backend/Resources/Public/JavaScript/SplitButtons.js index 82c6bcace315..0cf4f880b0df 100644 --- a/typo3/sysext/backend/Resources/Public/JavaScript/SplitButtons.js +++ b/typo3/sysext/backend/Resources/Public/JavaScript/SplitButtons.js @@ -14,7 +14,7 @@ /** * Initializes global handling of split buttons. */ -define('TYPO3/CMS/Backend/SplitButtons', ['jquery'], function($) { +define(['jquery'], function($) { "use strict"; var SplitButtons = { diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/Storage.js b/typo3/sysext/backend/Resources/Public/JavaScript/Storage.js index 9d8bfa5d2a20..b9e846890bf9 100644 --- a/typo3/sysext/backend/Resources/Public/JavaScript/Storage.js +++ b/typo3/sysext/backend/Resources/Public/JavaScript/Storage.js @@ -16,7 +16,7 @@ * TYPO3.Storage.Client and the Backend Users "uc", * available via TYPO3.Storage.Persistent */ -define('TYPO3/CMS/Backend/Storage', ['jquery'], function ($) { +define(['jquery'], function ($) { var Storage = { Client: {}, Persistent: { diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/Tabs.js b/typo3/sysext/backend/Resources/Public/JavaScript/Tabs.js index 72ff0fbb9f8f..68f82462f0c8 100644 --- a/typo3/sysext/backend/Resources/Public/JavaScript/Tabs.js +++ b/typo3/sysext/backend/Resources/Public/JavaScript/Tabs.js @@ -15,7 +15,7 @@ * This class handle the tabs in the TYPO3 backend. * It stores the last active tab and open it again after a reload, */ -define('TYPO3/CMS/Backend/Tabs', ['jquery', 'TYPO3/CMS/Backend/Storage', 'bootstrap'], function ($) { +define(['jquery', 'TYPO3/CMS/Backend/Storage', 'bootstrap'], function ($) { /** * Tabs helper diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/ToggleSearchToolbox.js b/typo3/sysext/backend/Resources/Public/JavaScript/ToggleSearchToolbox.js index a92477da548c..166d9ee8bcc9 100644 --- a/typo3/sysext/backend/Resources/Public/JavaScript/ToggleSearchToolbox.js +++ b/typo3/sysext/backend/Resources/Public/JavaScript/ToggleSearchToolbox.js @@ -14,7 +14,7 @@ /** * Toggle the search toolbox */ -define('TYPO3/CMS/Backend/ToggleSearchToolbox', ['jquery', 'TYPO3/CMS/Backend/DocumentHeader', 'TYPO3/CMS/Backend/jquery.clearable'], function($, DocumentHeader) { +define(['jquery', 'TYPO3/CMS/Backend/DocumentHeader', 'TYPO3/CMS/Backend/jquery.clearable'], function($, DocumentHeader) { "use strict"; $(function() { diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/Toolbar/ClearCacheMenu.js b/typo3/sysext/backend/Resources/Public/JavaScript/Toolbar/ClearCacheMenu.js index 9611e77cd9dc..1a599a7882e2 100644 --- a/typo3/sysext/backend/Resources/Public/JavaScript/Toolbar/ClearCacheMenu.js +++ b/typo3/sysext/backend/Resources/Public/JavaScript/Toolbar/ClearCacheMenu.js @@ -15,7 +15,7 @@ * main functionality for clearing caches via the top bar * reloading the clear cache icon */ -define('TYPO3/CMS/Backend/Toolbar/ClearCacheMenu', ['jquery'], function($) { +define(['jquery'], function($) { var ClearCacheMenu = { $spinnerElement: $('<span>', { @@ -77,4 +77,4 @@ define('TYPO3/CMS/Backend/Toolbar/ClearCacheMenu', ['jquery'], function($) { TYPO3.ClearCacheMenu = ClearCacheMenu; return ClearCacheMenu; }(); -}); \ No newline at end of file +}); diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/Toolbar/ShortcutMenu.js b/typo3/sysext/backend/Resources/Public/JavaScript/Toolbar/ShortcutMenu.js index c54b84714e8b..87adf09d8dcf 100644 --- a/typo3/sysext/backend/Resources/Public/JavaScript/Toolbar/ShortcutMenu.js +++ b/typo3/sysext/backend/Resources/Public/JavaScript/Toolbar/ShortcutMenu.js @@ -15,7 +15,7 @@ * shortcut menu logic to add new shortcut, remove a shortcut * and edit a shortcut */ -define('TYPO3/CMS/Backend/Toolbar/ShortcutMenu', ['jquery'], function($) { +define(['jquery'], function($) { var ShortcutMenu = { $spinnerElement: $('<span>', { diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/Toolbar/SystemInformationMenu.js b/typo3/sysext/backend/Resources/Public/JavaScript/Toolbar/SystemInformationMenu.js index 5849c7d2ce46..4b29e75e3318 100644 --- a/typo3/sysext/backend/Resources/Public/JavaScript/Toolbar/SystemInformationMenu.js +++ b/typo3/sysext/backend/Resources/Public/JavaScript/Toolbar/SystemInformationMenu.js @@ -14,7 +14,7 @@ /** * System information menu handler */ -define('TYPO3/CMS/Backend/Toolbar/SystemInformationMenu', ['jquery', 'TYPO3/CMS/Backend/Storage'], function($) { +define(['jquery', 'TYPO3/CMS/Backend/Storage'], function($) { var SystemInformationMenu = { identifier: { containerSelector: '#typo3-cms-backend-backend-toolbaritems-systeminformationtoolbaritem', diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/Tooltip.js b/typo3/sysext/backend/Resources/Public/JavaScript/Tooltip.js index 1b124e26c208..bc69ac0237a9 100644 --- a/typo3/sysext/backend/Resources/Public/JavaScript/Tooltip.js +++ b/typo3/sysext/backend/Resources/Public/JavaScript/Tooltip.js @@ -14,7 +14,7 @@ /** * API for tooltip windows powered by Twitter Bootstrap. */ -define('TYPO3/CMS/Backend/Tooltip', ['jquery', 'bootstrap'], function($) { +define(['jquery', 'bootstrap'], function($) { /** * The main tooltip object diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/UserPassLogin.js b/typo3/sysext/backend/Resources/Public/JavaScript/UserPassLogin.js index cbe102a8aea6..773cb4f2b6a1 100644 --- a/typo3/sysext/backend/Resources/Public/JavaScript/UserPassLogin.js +++ b/typo3/sysext/backend/Resources/Public/JavaScript/UserPassLogin.js @@ -14,7 +14,7 @@ /** * JavaScript module for the UsernamePasswordLoginProvider */ -define('TYPO3/CMS/Backend/UserPassLogin', ['jquery', 'TYPO3/CMS/Backend/Login'], function($, Login) { +define(['jquery', 'TYPO3/CMS/Backend/Login'], function($, Login) { var UserPassLogin = { options: { usernameField: '.t3js-login-username-field', diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/Utility.js b/typo3/sysext/backend/Resources/Public/JavaScript/Utility.js index d28b4b45d467..49c256f47075 100644 --- a/typo3/sysext/backend/Resources/Public/JavaScript/Utility.js +++ b/typo3/sysext/backend/Resources/Public/JavaScript/Utility.js @@ -14,7 +14,7 @@ /** * Utility helper */ -define('TYPO3/CMS/Backend/Utility', ['jquery'], function($) { +define(['jquery'], function($) { /** * The main Utility object diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/ValueSlider.js b/typo3/sysext/backend/Resources/Public/JavaScript/ValueSlider.js index cafdd3e6d9ff..186fc068c67f 100644 --- a/typo3/sysext/backend/Resources/Public/JavaScript/ValueSlider.js +++ b/typo3/sysext/backend/Resources/Public/JavaScript/ValueSlider.js @@ -14,7 +14,7 @@ /** * ValueSlider */ -define('TYPO3/CMS/Backend/ValueSlider', ['jquery', 'twbs/bootstrap-slider'], function($) { +define(['jquery', 'twbs/bootstrap-slider'], function($) { /** * ValueSlider object * diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/Wizard/Colorpicker.js b/typo3/sysext/backend/Resources/Public/JavaScript/Wizard/Colorpicker.js index b92739bce0b7..5d4b1e56824c 100644 --- a/typo3/sysext/backend/Resources/Public/JavaScript/Wizard/Colorpicker.js +++ b/typo3/sysext/backend/Resources/Public/JavaScript/Wizard/Colorpicker.js @@ -14,7 +14,7 @@ /** * Colorpicker JavaScript */ -define('TYPO3/CMS/Backend/Wizard/Colorpicker', ['jquery'], function ($) { +define(['jquery'], function ($) { var Colorpicker = { options: {} @@ -61,4 +61,4 @@ define('TYPO3/CMS/Backend/Wizard/Colorpicker', ['jquery'], function ($) { }); return Colorpicker; -}); \ No newline at end of file +}); diff --git a/typo3/sysext/beuser/Resources/Public/JavaScript/BackendUserListing.js b/typo3/sysext/beuser/Resources/Public/JavaScript/BackendUserListing.js index df03aea321a5..0069ba6f4d4a 100644 --- a/typo3/sysext/beuser/Resources/Public/JavaScript/BackendUserListing.js +++ b/typo3/sysext/beuser/Resources/Public/JavaScript/BackendUserListing.js @@ -14,7 +14,7 @@ /** * JavaScript for backend user listing */ -define('TYPO3/CMS/Beuser/BackendUserListing', ['jquery', 'TYPO3/CMS/Backend/jquery.clearable'], function($) { +define(['jquery', 'TYPO3/CMS/Backend/jquery.clearable'], function($) { var $searchFields = $('#tx_Beuser_username'); var searchResultShown = ('' !== $searchFields.first().val()); @@ -28,4 +28,4 @@ define('TYPO3/CMS/Beuser/BackendUserListing', ['jquery', 'TYPO3/CMS/Backend/jque } }); -}); \ No newline at end of file +}); diff --git a/typo3/sysext/beuser/Resources/Public/JavaScript/Permissions.js b/typo3/sysext/beuser/Resources/Public/JavaScript/Permissions.js index caec925f0c2c..36c39b80675f 100644 --- a/typo3/sysext/beuser/Resources/Public/JavaScript/Permissions.js +++ b/typo3/sysext/beuser/Resources/Public/JavaScript/Permissions.js @@ -14,7 +14,7 @@ /** * Javascript functions regarding the permissions module */ -define('TYPO3/CMS/Beuser/Permissions', ['jquery'], function($) { +define(['jquery'], function($) { var Permissions = { options: { diff --git a/typo3/sysext/core/Resources/Public/JavaScript/QueryGenerator.js b/typo3/sysext/core/Resources/Public/JavaScript/QueryGenerator.js index 9577059b61f1..f9289a4a5130 100644 --- a/typo3/sysext/core/Resources/Public/JavaScript/QueryGenerator.js +++ b/typo3/sysext/core/Resources/Public/JavaScript/QueryGenerator.js @@ -14,7 +14,7 @@ /** * This module handle the QueryGenerator forms. */ -define('TYPO3/CMS/Core/QueryGenerator', ['jquery', 'TYPO3/CMS/Backend/DateTimePicker', 'TYPO3/CMS/Backend/jquery.clearable'], function ($) { +define(['jquery', 'TYPO3/CMS/Backend/DateTimePicker', 'TYPO3/CMS/Backend/jquery.clearable'], function ($) { /** * The QueryGenerator AMD module diff --git a/typo3/sysext/documentation/Resources/Public/JavaScript/Main.js b/typo3/sysext/documentation/Resources/Public/JavaScript/Main.js index f1adf4b3216b..6d1763d9833b 100644 --- a/typo3/sysext/documentation/Resources/Public/JavaScript/Main.js +++ b/typo3/sysext/documentation/Resources/Public/JavaScript/Main.js @@ -14,7 +14,7 @@ /** * JavaScript module for ext:documentation */ -define('TYPO3/CMS/Documentation/Main', ['jquery', 'datatables', 'TYPO3/CMS/Backend/jquery.clearable'], function($) { +define(['jquery', 'datatables', 'TYPO3/CMS/Backend/jquery.clearable'], function($) { var Documentation = { dataTable: null, @@ -75,4 +75,4 @@ define('TYPO3/CMS/Documentation/Main', ['jquery', 'datatables', 'TYPO3/CMS/Backe }); }); -}); \ No newline at end of file +}); diff --git a/typo3/sysext/filelist/Resources/Public/JavaScript/FileList.js b/typo3/sysext/filelist/Resources/Public/JavaScript/FileList.js index 849ce397537e..bef33e012651 100644 --- a/typo3/sysext/filelist/Resources/Public/JavaScript/FileList.js +++ b/typo3/sysext/filelist/Resources/Public/JavaScript/FileList.js @@ -15,7 +15,7 @@ * JavaScript RequireJS module called "TYPO3/CMS/Filelist/FileList" * */ -define('TYPO3/CMS/Filelist/FileList', ['jquery'], function($) { +define(['jquery'], function($) { $('a.filelist-file-title').click(function(event) { event.preventDefault(); diff --git a/typo3/sysext/filelist/Resources/Public/JavaScript/FileListLocalisation.js b/typo3/sysext/filelist/Resources/Public/JavaScript/FileListLocalisation.js index 74a4052e5bf9..f6d511709dfc 100644 --- a/typo3/sysext/filelist/Resources/Public/JavaScript/FileListLocalisation.js +++ b/typo3/sysext/filelist/Resources/Public/JavaScript/FileListLocalisation.js @@ -15,7 +15,7 @@ * JavaScript RequireJS module called "TYPO3/CMS/Backend/FileListLocalisation" * */ -define('TYPO3/CMS/Filelist/FileListLocalisation', ['jquery'], function($) { +define(['jquery'], function($) { $('a.filelist-translationToggler').click(function(event) { var id = $(this).attr('data-fileid'); @@ -23,4 +23,4 @@ define('TYPO3/CMS/Filelist/FileListLocalisation', ['jquery'], function($) { }); return null; -}); \ No newline at end of file +}); diff --git a/typo3/sysext/filelist/Resources/Public/JavaScript/FileSearch.js b/typo3/sysext/filelist/Resources/Public/JavaScript/FileSearch.js index fa153e5a8c47..211e7966169f 100644 --- a/typo3/sysext/filelist/Resources/Public/JavaScript/FileSearch.js +++ b/typo3/sysext/filelist/Resources/Public/JavaScript/FileSearch.js @@ -14,7 +14,7 @@ /** * JavaScript for file search */ -define('TYPO3/CMS/Filelist/FileSearch', ['jquery', 'TYPO3/CMS/Backend/jquery.clearable'], function($) { +define(['jquery', 'TYPO3/CMS/Backend/jquery.clearable'], function($) { var $searchFields = $('input[name="tx_filelist_file_filelistlist[searchWord]"]'); var searchResultShown = ('' !== $searchFields.first().val()); @@ -28,4 +28,4 @@ define('TYPO3/CMS/Filelist/FileSearch', ['jquery', 'TYPO3/CMS/Backend/jquery.cle } }); -}); \ No newline at end of file +}); diff --git a/typo3/sysext/impexp/Resources/Public/JavaScript/ImportExport.js b/typo3/sysext/impexp/Resources/Public/JavaScript/ImportExport.js index 7b3a33fbc457..67d452fb4d44 100644 --- a/typo3/sysext/impexp/Resources/Public/JavaScript/ImportExport.js +++ b/typo3/sysext/impexp/Resources/Public/JavaScript/ImportExport.js @@ -14,7 +14,7 @@ /** * JavaScript to handle confirm windows in the Import/Export module */ -define('TYPO3/CMS/Impexp/ImportExport', ['jquery'], function ($) { +define(['jquery'], function ($) { $(function() { $(document).on('click', '.t3js-confirm-trigger', function() { $button = $(this); diff --git a/typo3/sysext/lang/Resources/Public/JavaScript/Lang.js b/typo3/sysext/lang/Resources/Public/JavaScript/Lang.js index bef5e38a9fdc..df1378b357d2 100644 --- a/typo3/sysext/lang/Resources/Public/JavaScript/Lang.js +++ b/typo3/sysext/lang/Resources/Public/JavaScript/Lang.js @@ -16,7 +16,7 @@ * * `TYPO3.lang.foo[0].target = 'blah'` becomes `TYPO3.lang['foo'] = 'blah'` */ -define('TYPO3/CMS/Lang/Lang', ['jquery'], function($) { +define(['jquery'], function($) { var Lang = {}; Lang.convertToOneDimension = function() { diff --git a/typo3/sysext/lang/Resources/Public/JavaScript/LanguageModule.js b/typo3/sysext/lang/Resources/Public/JavaScript/LanguageModule.js index 34feb6f01d65..746154e960c0 100644 --- a/typo3/sysext/lang/Resources/Public/JavaScript/LanguageModule.js +++ b/typo3/sysext/lang/Resources/Public/JavaScript/LanguageModule.js @@ -14,7 +14,7 @@ /** * Language module class */ -define('TYPO3/CMS/Lang/LanguageModule', ['jquery', 'moment', 'datatables', 'TYPO3/CMS/Backend/jquery.clearable'], function($, moment) { +define(['jquery', 'moment', 'datatables', 'TYPO3/CMS/Backend/jquery.clearable'], function($, moment) { var LanguageModule = { me: this, context: null, diff --git a/typo3/sysext/linkvalidator/Resources/Public/JavaScript/Linkvalidator.js b/typo3/sysext/linkvalidator/Resources/Public/JavaScript/Linkvalidator.js index 7e21a9cf5db7..83d7bfe10161 100644 --- a/typo3/sysext/linkvalidator/Resources/Public/JavaScript/Linkvalidator.js +++ b/typo3/sysext/linkvalidator/Resources/Public/JavaScript/Linkvalidator.js @@ -11,7 +11,7 @@ * The TYPO3 project - inspiring people to share! */ -define('TYPO3/CMS/Linkvalidator/Linkvalidator', ['jquery'], function($) { +define(['jquery'], function($) { var Linkvalidator = {}; diff --git a/typo3/sysext/opendocs/Resources/Public/JavaScript/Toolbar/OpendocsMenu.js b/typo3/sysext/opendocs/Resources/Public/JavaScript/Toolbar/OpendocsMenu.js index 694df37cc212..7650b101bdc7 100644 --- a/typo3/sysext/opendocs/Resources/Public/JavaScript/Toolbar/OpendocsMenu.js +++ b/typo3/sysext/opendocs/Resources/Public/JavaScript/Toolbar/OpendocsMenu.js @@ -16,7 +16,7 @@ * - navigating to the documents * - updating the menu */ -define('TYPO3/CMS/Opendocs/Toolbar/OpendocsMenu', ['jquery'], function($) { +define(['jquery'], function($) { var OpendocsMenu = { $spinnerElement: $('<span>', { diff --git a/typo3/sysext/recordlist/Resources/Public/JavaScript/BrowseDatabase.js b/typo3/sysext/recordlist/Resources/Public/JavaScript/BrowseDatabase.js index 188712eac83f..3fa97fd0b544 100644 --- a/typo3/sysext/recordlist/Resources/Public/JavaScript/BrowseDatabase.js +++ b/typo3/sysext/recordlist/Resources/Public/JavaScript/BrowseDatabase.js @@ -14,7 +14,7 @@ /** * Database record selection */ -define('TYPO3/CMS/Recordlist/BrowseDatabase', ['jquery', 'TYPO3/CMS/Recordlist/ElementBrowser'], function($, ElementBrowser) { +define(['jquery', 'TYPO3/CMS/Recordlist/ElementBrowser'], function($, ElementBrowser) { "use strict"; $(function() { diff --git a/typo3/sysext/recordlist/Resources/Public/JavaScript/BrowseFiles.js b/typo3/sysext/recordlist/Resources/Public/JavaScript/BrowseFiles.js index 892349671cc0..0cb559b3eac7 100644 --- a/typo3/sysext/recordlist/Resources/Public/JavaScript/BrowseFiles.js +++ b/typo3/sysext/recordlist/Resources/Public/JavaScript/BrowseFiles.js @@ -14,7 +14,7 @@ /** * File selection */ -define('TYPO3/CMS/Recordlist/BrowseFiles', ['jquery', 'TYPO3/CMS/Recordlist/ElementBrowser'], function($, ElementBrowser) { +define(['jquery', 'TYPO3/CMS/Recordlist/ElementBrowser'], function($, ElementBrowser) { "use strict"; var BrowseFiles = { diff --git a/typo3/sysext/recordlist/Resources/Public/JavaScript/BrowseFolders.js b/typo3/sysext/recordlist/Resources/Public/JavaScript/BrowseFolders.js index 25c79a847d7c..6e805cab8922 100644 --- a/typo3/sysext/recordlist/Resources/Public/JavaScript/BrowseFolders.js +++ b/typo3/sysext/recordlist/Resources/Public/JavaScript/BrowseFolders.js @@ -14,7 +14,7 @@ /** * Folder selection */ -define('TYPO3/CMS/Recordlist/BrowseFolders', ['jquery', 'TYPO3/CMS/Recordlist/ElementBrowser', 'TYPO3/CMS/Backend/Modal'], function ($, ElementBrowser, Modal) { +define(['jquery', 'TYPO3/CMS/Recordlist/ElementBrowser', 'TYPO3/CMS/Backend/Modal'], function ($, ElementBrowser, Modal) { "use strict"; $(function() { diff --git a/typo3/sysext/recordlist/Resources/Public/JavaScript/ElementBrowser.js b/typo3/sysext/recordlist/Resources/Public/JavaScript/ElementBrowser.js index 83ca15ae2b7d..3c23aee14a1d 100644 --- a/typo3/sysext/recordlist/Resources/Public/JavaScript/ElementBrowser.js +++ b/typo3/sysext/recordlist/Resources/Public/JavaScript/ElementBrowser.js @@ -14,7 +14,7 @@ /** * ElementBrowser communication with parent windows */ -define('TYPO3/CMS/Recordlist/ElementBrowser', ['jquery'], function($) { +define(['jquery'], function($) { "use strict"; var ElementBrowser = { diff --git a/typo3/sysext/recordlist/Resources/Public/JavaScript/FieldSelectBox.js b/typo3/sysext/recordlist/Resources/Public/JavaScript/FieldSelectBox.js index 4f3644e271e8..15b60724f49d 100644 --- a/typo3/sysext/recordlist/Resources/Public/JavaScript/FieldSelectBox.js +++ b/typo3/sysext/recordlist/Resources/Public/JavaScript/FieldSelectBox.js @@ -14,7 +14,7 @@ /** * Check-all / uncheck-all for the Database Recordlist fieldSelectBox */ -define('TYPO3/CMS/Recordlist/FieldSelectBox', ['jquery'], function($) { +define(['jquery'], function($) { "use strict"; $(function() { diff --git a/typo3/sysext/recordlist/Resources/Public/JavaScript/FileLinkHandler.js b/typo3/sysext/recordlist/Resources/Public/JavaScript/FileLinkHandler.js index 131d2d9e4f28..59018e5ab5d5 100644 --- a/typo3/sysext/recordlist/Resources/Public/JavaScript/FileLinkHandler.js +++ b/typo3/sysext/recordlist/Resources/Public/JavaScript/FileLinkHandler.js @@ -14,7 +14,7 @@ /** * File link interaction */ -define('TYPO3/CMS/Recordlist/FileLinkHandler', ['jquery', 'TYPO3/CMS/Recordlist/LinkBrowser', 'TYPO3/CMS/Backend/LegacyTree'], function($, LinkBrowser, Tree) { +define(['jquery', 'TYPO3/CMS/Recordlist/LinkBrowser', 'TYPO3/CMS/Backend/LegacyTree'], function($, LinkBrowser, Tree) { "use strict"; var FileLinkHandler = { diff --git a/typo3/sysext/recordlist/Resources/Public/JavaScript/LinkBrowser.js b/typo3/sysext/recordlist/Resources/Public/JavaScript/LinkBrowser.js index 4a72a3fd1c01..8c0e7bdbce67 100644 --- a/typo3/sysext/recordlist/Resources/Public/JavaScript/LinkBrowser.js +++ b/typo3/sysext/recordlist/Resources/Public/JavaScript/LinkBrowser.js @@ -14,7 +14,7 @@ /** * LinkBrowser communication with parent window */ -define('TYPO3/CMS/Recordlist/LinkBrowser', ['jquery'], function($) { +define(['jquery'], function($) { "use strict"; var LinkBrowser = { diff --git a/typo3/sysext/recordlist/Resources/Public/JavaScript/MailLinkHandler.js b/typo3/sysext/recordlist/Resources/Public/JavaScript/MailLinkHandler.js index 33fb4fc668ee..d32f204dbc87 100644 --- a/typo3/sysext/recordlist/Resources/Public/JavaScript/MailLinkHandler.js +++ b/typo3/sysext/recordlist/Resources/Public/JavaScript/MailLinkHandler.js @@ -14,7 +14,7 @@ /** * Mail link interaction */ -define('TYPO3/CMS/Recordlist/MailLinkHandler', ['jquery', 'TYPO3/CMS/Recordlist/LinkBrowser'], function($, LinkBrowser) { +define(['jquery', 'TYPO3/CMS/Recordlist/LinkBrowser'], function($, LinkBrowser) { "use strict"; var MailLinkHandler = {}; diff --git a/typo3/sysext/recordlist/Resources/Public/JavaScript/PageLinkHandler.js b/typo3/sysext/recordlist/Resources/Public/JavaScript/PageLinkHandler.js index 8656dff57d48..0239062e875d 100644 --- a/typo3/sysext/recordlist/Resources/Public/JavaScript/PageLinkHandler.js +++ b/typo3/sysext/recordlist/Resources/Public/JavaScript/PageLinkHandler.js @@ -14,7 +14,7 @@ /** * Page link interaction */ -define('TYPO3/CMS/Recordlist/PageLinkHandler', ['jquery', 'TYPO3/CMS/Recordlist/LinkBrowser'], function($, LinkBrowser) { +define(['jquery', 'TYPO3/CMS/Recordlist/LinkBrowser'], function($, LinkBrowser) { "use strict"; var PageLinkHandler = { diff --git a/typo3/sysext/recordlist/Resources/Public/JavaScript/Recordlist.js b/typo3/sysext/recordlist/Resources/Public/JavaScript/Recordlist.js index 6bc69432517b..5193c111e28c 100644 --- a/typo3/sysext/recordlist/Resources/Public/JavaScript/Recordlist.js +++ b/typo3/sysext/recordlist/Resources/Public/JavaScript/Recordlist.js @@ -14,7 +14,7 @@ /** * Usability improvements for the record list */ -define('TYPO3/CMS/Recordlist/Recordlist', ['jquery', 'TYPO3/CMS/Backend/Storage'], function($, Storage) { +define(['jquery', 'TYPO3/CMS/Backend/Storage'], function($, Storage) { "use strict"; var Recordlist = { diff --git a/typo3/sysext/recordlist/Resources/Public/JavaScript/Tooltip.js b/typo3/sysext/recordlist/Resources/Public/JavaScript/Tooltip.js index c1613ee4c6c2..b5c8378ef158 100644 --- a/typo3/sysext/recordlist/Resources/Public/JavaScript/Tooltip.js +++ b/typo3/sysext/recordlist/Resources/Public/JavaScript/Tooltip.js @@ -14,7 +14,7 @@ /** * API for tooltip windows powered by Twitter Bootstrap. */ -define('TYPO3/CMS/Recordlist/Tooltip', ['TYPO3/CMS/Backend/Tooltip'], function(Tooltip) { +define(['TYPO3/CMS/Backend/Tooltip'], function(Tooltip) { "use strict"; Tooltip.initialize('.table-fit a[title]', { diff --git a/typo3/sysext/recordlist/Resources/Public/JavaScript/UrlLinkHandler.js b/typo3/sysext/recordlist/Resources/Public/JavaScript/UrlLinkHandler.js index 8e3e282e86c3..bbfb7cde94cf 100644 --- a/typo3/sysext/recordlist/Resources/Public/JavaScript/UrlLinkHandler.js +++ b/typo3/sysext/recordlist/Resources/Public/JavaScript/UrlLinkHandler.js @@ -14,7 +14,7 @@ /** * URL link interaction */ -define('TYPO3/CMS/Recordlist/UrlLinkHandler', ['jquery', 'TYPO3/CMS/Recordlist/LinkBrowser'], function($, LinkBrowser) { +define(['jquery', 'TYPO3/CMS/Recordlist/LinkBrowser'], function($, LinkBrowser) { "use strict"; var UrlLinkHandler = {}; diff --git a/typo3/sysext/rsaauth/Resources/Public/JavaScript/RsaEncryptionModule.js b/typo3/sysext/rsaauth/Resources/Public/JavaScript/RsaEncryptionModule.js index 9ccaa8597458..45f10c3c0357 100644 --- a/typo3/sysext/rsaauth/Resources/Public/JavaScript/RsaEncryptionModule.js +++ b/typo3/sysext/rsaauth/Resources/Public/JavaScript/RsaEncryptionModule.js @@ -14,7 +14,7 @@ /** * Object that handles RSA encryption and submission of the form */ -define('TYPO3/CMS/Rsaauth/RsaEncryptionModule', ['jquery', './RsaLibrary'], function($) { +define(['jquery', './RsaLibrary'], function($) { 'use strict'; var RsaEncryption = { diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Ajax/Ajax.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Ajax/Ajax.js index 0325ab23446b..394d49e9da37 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Ajax/Ajax.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Ajax/Ajax.js @@ -14,8 +14,7 @@ /** * Ajax object */ -define('TYPO3/CMS/Rtehtmlarea/HTMLArea/Ajax/Ajax', - ['jquery', +define(['jquery', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util'], function($, Util) { diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/CSS/Parser.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/CSS/Parser.js index fcf9aa488e5b..f3330a52dc82 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/CSS/Parser.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/CSS/Parser.js @@ -13,8 +13,7 @@ /*************************************************** * HTMLArea.CSS.Parser: CSS Parser ***************************************************/ -define('TYPO3/CMS/Rtehtmlarea/HTMLArea/CSS/Parser', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Event/Event'], function (UserAgent, Util, Event) { diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Configuration/Config.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Configuration/Config.js index 1e33d4da1165..f9c9509cfe5a 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Configuration/Config.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Configuration/Config.js @@ -14,8 +14,7 @@ /** * Configuration of af an Editor of TYPO3 htmlArea RTE */ -define('TYPO3/CMS/Rtehtmlarea/HTMLArea/Configuration/Config', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util'], function (UserAgent, Util) { diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/DOM/BookMark.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/DOM/BookMark.js index 346c15d6758b..784550d38927 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/DOM/BookMark.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/DOM/BookMark.js @@ -13,8 +13,7 @@ /*************************************************** * HTMLArea.DOM.BookMark: BookMark object ***************************************************/ -define('TYPO3/CMS/Rtehtmlarea/HTMLArea/DOM/BookMark', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/DOM/DOM'], function (UserAgent, Util, Dom) { diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/DOM/DOM.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/DOM/DOM.js index a4fb671e83d8..3b7a94149ce5 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/DOM/DOM.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/DOM/DOM.js @@ -13,8 +13,7 @@ /***************************************************************** * HTMLArea.DOM: Utility functions for dealing with the DOM tree * *****************************************************************/ -define('TYPO3/CMS/Rtehtmlarea/HTMLArea/DOM/DOM', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util'], function (UserAgent, Util) { diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/DOM/Node.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/DOM/Node.js index 78401c26e116..f202ed20da1e 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/DOM/Node.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/DOM/Node.js @@ -13,8 +13,7 @@ /*************************************************** * HTMLArea.DOM.Node: Node object ***************************************************/ -define('TYPO3/CMS/Rtehtmlarea/HTMLArea/DOM/Node', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/DOM/DOM'], function (UserAgent, Util, Dom) { diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/DOM/Selection.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/DOM/Selection.js index 14d97f5310c4..60bb714f8f82 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/DOM/Selection.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/DOM/Selection.js @@ -13,8 +13,7 @@ /*************************************************** * HTMLArea.DOM.Selection: Selection object ***************************************************/ -define('TYPO3/CMS/Rtehtmlarea/HTMLArea/DOM/Selection', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/DOM/DOM', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Event/Event'], diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/DOM/Walker.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/DOM/Walker.js index c83c9272b7db..44d79ef72270 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/DOM/Walker.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/DOM/Walker.js @@ -13,8 +13,7 @@ /*************************************************** * HTMLArea.DOM.Walker: DOM tree walk ***************************************************/ -define('TYPO3/CMS/Rtehtmlarea/HTMLArea/DOM/Walker', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/DOM/DOM'], function (UserAgent, Util, Dom) { diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Editor/Editor.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Editor/Editor.js index 09a7cccf7132..d687987ee8b6 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Editor/Editor.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Editor/Editor.js @@ -14,8 +14,7 @@ /** * Editor extends Ext.util.Observable */ -define('TYPO3/CMS/Rtehtmlarea/HTMLArea/Editor/Editor', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Ajax/Ajax', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/DOM/DOM', diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Editor/Framework.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Editor/Framework.js index 941b800ef300..fdd0b60f0147 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Editor/Framework.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Editor/Framework.js @@ -14,8 +14,7 @@ /** * Framework is the visual component of the Editor and contains the tool bar, the iframe, the textarea and the status bar */ -define('TYPO3/CMS/Rtehtmlarea/HTMLArea/Editor/Framework', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Resizable', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/DOM/DOM', diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Editor/Iframe.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Editor/Iframe.js index e16cf14e416e..7d77945b055c 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Editor/Iframe.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Editor/Iframe.js @@ -14,8 +14,7 @@ /** * The editor iframe */ -define('TYPO3/CMS/Rtehtmlarea/HTMLArea/Editor/Iframe', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/DOM/Walker', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/TYPO3', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util', diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Editor/StatusBar.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Editor/StatusBar.js index 20c2c87e15d4..691ff8413952 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Editor/StatusBar.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Editor/StatusBar.js @@ -14,8 +14,7 @@ /** * The optional status bar at the bottom of the editor framework */ -define('TYPO3/CMS/Rtehtmlarea/HTMLArea/Editor/StatusBar', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/DOM/DOM', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Event/Event'], diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Editor/TextAreaContainer.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Editor/TextAreaContainer.js index e7c7e9a26115..0dd07d40f6c7 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Editor/TextAreaContainer.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Editor/TextAreaContainer.js @@ -14,8 +14,7 @@ /** * The container of the textarea within the editor framework */ -define('TYPO3/CMS/Rtehtmlarea/HTMLArea/Editor/TextAreaContainer', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/DOM/DOM', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Event/Event'], function (Util, Dom, Event) { diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Editor/Toolbar.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Editor/Toolbar.js index e5fff451120c..ea3984c0aec2 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Editor/Toolbar.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Editor/Toolbar.js @@ -14,8 +14,7 @@ /** * The editor toolbar */ -define('TYPO3/CMS/Rtehtmlarea/HTMLArea/Editor/Toolbar', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/DOM/DOM', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Event/Event', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Toolbar/Button', diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Event/Event.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Event/Event.js index 05664921905c..5e08742098d7 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Event/Event.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Event/Event.js @@ -13,8 +13,7 @@ /***************************************************************** * HTMLArea.Event: Utility functions for dealing with events * *****************************************************************/ -define('TYPO3/CMS/Rtehtmlarea/HTMLArea/Event/Event', - ['jquery', +define(['jquery', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util'], function ($, UserAgent, Util) { diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Event/KeyMap.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Event/KeyMap.js index b3851e8ae8a8..ba84df24948f 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Event/KeyMap.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Event/KeyMap.js @@ -13,8 +13,7 @@ /******************************************************************** * HTMLArea.KeyMap: Utility functions for dealing with key events * ********************************************************************/ -define('TYPO3/CMS/Rtehtmlarea/HTMLArea/Event/KeyMap', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/Event/Event'], +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/Event/Event'], function (Event) { /** diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Extjs/ColorPalette.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Extjs/ColorPalette.js index 27098f944258..5d5928c52c21 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Extjs/ColorPalette.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Extjs/ColorPalette.js @@ -14,8 +14,7 @@ /** * Intercept Ext.ColorPalette.prototype.select */ -define('TYPO3/CMS/Rtehtmlarea/HTMLArea/Extjs/ColorPalette', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Color'], +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Color'], function (Color) { Ext.ColorPalette.prototype.select = Ext.ColorPalette.prototype.select.createInterceptor(Color.checkIfColorInPalette); diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Extjs/ux/ColorMenu.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Extjs/ux/ColorMenu.js index cab3ddd3a6db..dbc5b294661d 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Extjs/ux/ColorMenu.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Extjs/ux/ColorMenu.js @@ -14,8 +14,7 @@ /** * Color menu */ -define('TYPO3/CMS/Rtehtmlarea/HTMLArea/Extjs/ux/ColorMenu', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/Extjs/ColorPalette'], +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/Extjs/ColorPalette'], function (ColorPalette) { Ext.ux.menu.HTMLAreaColorMenu = Ext.extend(Ext.menu.Menu, { enableScrolling: false, diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Extjs/ux/ColorPaletteField.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Extjs/ux/ColorPaletteField.js index 4d607ce6521e..63a08a6426d2 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Extjs/ux/ColorPaletteField.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Extjs/ux/ColorPaletteField.js @@ -15,8 +15,7 @@ * Color palette trigger field * Based on http://www.extjs.com/forum/showthread.php?t=89312 */ -define('TYPO3/CMS/Rtehtmlarea/HTMLArea/Extjs/ux/ColorPaletteField', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/Extjs/ux/ColorMenu'], +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/Extjs/ux/ColorMenu'], function (ColorMenu) { Ext.ux.form.ColorPaletteField = Ext.extend(Ext.form.TriggerField, { triggerClass: 'x-form-color-trigger', diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/HTMLArea.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/HTMLArea.js index 9c45d2c5257d..365415059262 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/HTMLArea.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/HTMLArea.js @@ -14,8 +14,7 @@ /** * Initialization script of TYPO3 htmlArea RTE */ -define('TYPO3/CMS/Rtehtmlarea/HTMLArea/HTMLArea', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Configuration/Config', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Editor/Editor'], diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Plugin/Plugin.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Plugin/Plugin.js index 7a973193286c..fadc1f440483 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Plugin/Plugin.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Plugin/Plugin.js @@ -17,8 +17,7 @@ * Every plugin should be a subclass of this class * */ -define('TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Event/Event'], function (UserAgent, Util, Event) { diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Toolbar/Button.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Toolbar/Button.js index f440e0397de5..bcfc3e4b7026 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Toolbar/Button.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Toolbar/Button.js @@ -14,8 +14,7 @@ /** * A button in the toolbar */ -define('TYPO3/CMS/Rtehtmlarea/HTMLArea/Toolbar/Button', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/DOM/DOM', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Event/Event'], diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Toolbar/Select.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Toolbar/Select.js index 1ceea3614eb3..3ae0be193b51 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Toolbar/Select.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Toolbar/Select.js @@ -14,8 +14,7 @@ /** * A select field in the toolbar */ -define('TYPO3/CMS/Rtehtmlarea/HTMLArea/Toolbar/Select', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/DOM/DOM', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Event/Event', diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Toolbar/ToolbarText.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Toolbar/ToolbarText.js index 6cbed9c1ff4c..ad4ac5a5badf 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Toolbar/ToolbarText.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Toolbar/ToolbarText.js @@ -14,8 +14,7 @@ /** * A text item in the toolbar */ -define('TYPO3/CMS/Rtehtmlarea/HTMLArea/Toolbar/ToolbarText', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/DOM/DOM', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/DOM/DOM', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Event/Event'], function (Dom, Util, Event) { diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/UserAgent/UserAgent.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/UserAgent/UserAgent.js index 2f2362245e04..fc7e5b6d4ae1 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/UserAgent/UserAgent.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/UserAgent/UserAgent.js @@ -14,7 +14,7 @@ /** * Identify the current user agent */ -define('TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', [], function () { +define([], function () { var userAgent = navigator.userAgent.toLowerCase(); var documentMode = document.documentMode, diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Util/Color.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Util/Color.js index 0f9d09613683..058ee69bdc9f 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Util/Color.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Util/Color.js @@ -13,7 +13,7 @@ /*************************************************** * Color utilities ***************************************************/ -define('TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Color', [], function () { +define([], function () { return { diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Util/Resizable.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Util/Resizable.js index 5fe02aa0fed1..7b3932ac8b6c 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Util/Resizable.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Util/Resizable.js @@ -13,8 +13,7 @@ /*************************************************** * Make resizable ***************************************************/ -define('TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Resizable', - ['jquery', +define(['jquery', 'jquery-ui/resizable'], function ($, Resizable) { diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Util/String.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Util/String.js index 2d42ae325144..03c0940de124 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Util/String.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Util/String.js @@ -13,8 +13,7 @@ /*************************************************** * Color utilities ***************************************************/ -define('TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/String', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent'], +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent'], function (UserAgent) { // Create the ruler diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Util/TYPO3.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Util/TYPO3.js index bad3e64a680a..6095b1b7196b 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Util/TYPO3.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Util/TYPO3.js @@ -13,8 +13,7 @@ /*************************************************** * HTMLArea.util.TYPO3: Utility functions for dealing with tabs and inline elements in TYPO3 forms ***************************************************/ -define('TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/TYPO3', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/DOM/DOM'], function (UserAgent, Dom) { diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Util/Tips.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Util/Tips.js index 2d52b78caba4..fb8c1c61d95b 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Util/Tips.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Util/Tips.js @@ -5,8 +5,7 @@ * Intercept Ext.form.Field.afterRender in order to provide tips on form fields and menu items * Adapted from: http://www.extjs.com/forum/showthread.php?t=36642 */ -define('TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Tips', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent'], +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent'], function (UserAgent) { Tips = { diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Util/Util.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Util/Util.js index aa688f82d0d3..f606de49b9f4 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Util/Util.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Util/Util.js @@ -13,8 +13,7 @@ /*************************************************** * UTILITY FUNCTIONS ***************************************************/ -define('TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent'], +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent'], function (UserAgent) { var Util = { diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Modules/SelectImage.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Modules/SelectImage.js index 9acb51d3c2c3..ea95368ac86a 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Modules/SelectImage.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Modules/SelectImage.js @@ -14,7 +14,7 @@ /** * This module is used by the RTE SelectImage module */ -define('TYPO3/CMS/Rtehtmlarea/Modules/SelectImage', function () { +define(function () { 'use strict'; var SelectImage = { diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/Abbreviation.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/Abbreviation.js index 7257c3148749..d93a7f7f115e 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/Abbreviation.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/Abbreviation.js @@ -14,8 +14,7 @@ /** * Abbreviation plugin for htmlArea RTE */ -define('TYPO3/CMS/Rtehtmlarea/Plugins/Abbreviation', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util'], function (Plugin, Util) { diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/AboutEditor.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/AboutEditor.js index 13de2381ece0..df05c4ea7328 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/AboutEditor.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/AboutEditor.js @@ -14,8 +14,7 @@ /** * About Plugin for TYPO3 htmlArea RTE */ -define('TYPO3/CMS/Rtehtmlarea/Plugins/AboutEditor', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util'], function (Plugin, Util) { diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/BlockElements.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/BlockElements.js index b61395d81e6a..aeaa602e3fff 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/BlockElements.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/BlockElements.js @@ -14,8 +14,7 @@ /** * BlockElements Plugin for TYPO3 htmlArea RTE */ -define('TYPO3/CMS/Rtehtmlarea/Plugins/BlockElements', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/DOM/DOM', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Event/Event', diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/BlockStyle.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/BlockStyle.js index 852ee2a98483..049c3ecfa4b1 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/BlockStyle.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/BlockStyle.js @@ -14,8 +14,7 @@ /** * Block Style Plugin for TYPO3 htmlArea RTE */ -define('TYPO3/CMS/Rtehtmlarea/Plugins/BlockStyle', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/DOM/DOM', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Event/Event', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/CSS/Parser', diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/CharacterMap.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/CharacterMap.js index eee6821c427c..e4dfab544669 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/CharacterMap.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/CharacterMap.js @@ -14,8 +14,7 @@ /** * Character Map Plugin for TYPO3 htmlArea RTE */ -define('TYPO3/CMS/Rtehtmlarea/Plugins/CharacterMap', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Event/Event', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util'], diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/ContextMenu.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/ContextMenu.js index f6296d8f8424..3cbbb2ffb234 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/ContextMenu.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/ContextMenu.js @@ -14,8 +14,7 @@ /** * Context Menu Plugin for TYPO3 htmlArea RTE */ -define('TYPO3/CMS/Rtehtmlarea/Plugins/ContextMenu', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/DOM/DOM', diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/CopyPaste.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/CopyPaste.js index d043f27d07f3..b03ce72a9bc0 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/CopyPaste.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/CopyPaste.js @@ -14,8 +14,7 @@ /** * Copy Paste for TYPO3 htmlArea RTE */ -define('TYPO3/CMS/Rtehtmlarea/Plugins/CopyPaste', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/DOM/DOM', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Event/Event', diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/DefaultClean.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/DefaultClean.js index f9318a3f1802..02b3222aaa86 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/DefaultClean.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/DefaultClean.js @@ -14,8 +14,7 @@ /** * Default Clean Plugin for TYPO3 htmlArea RTE */ -define('TYPO3/CMS/Rtehtmlarea/Plugins/DefaultClean', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/DOM/DOM', diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/DefaultImage.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/DefaultImage.js index 05ff0181bf6b..650d0e1f6014 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/DefaultImage.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/DefaultImage.js @@ -14,8 +14,7 @@ /** * Image Plugin for TYPO3 htmlArea RTE */ -define('TYPO3/CMS/Rtehtmlarea/Plugins/DefaultImage', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util'], function (Plugin, UserAgent, Util) { diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/DefaultInline.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/DefaultInline.js index 0fda88437d32..0ba4fed31e3a 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/DefaultInline.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/DefaultInline.js @@ -14,8 +14,7 @@ /** * Default Inline Plugin for TYPO3 htmlArea RTE */ -define('TYPO3/CMS/Rtehtmlarea/Plugins/DefaultInline', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util'], function (Plugin, Util) { diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/DefaultLink.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/DefaultLink.js index 6ca956626119..9e8d6b0d72f2 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/DefaultLink.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/DefaultLink.js @@ -14,8 +14,7 @@ /** * Default Link Plugin for TYPO3 htmlArea RTE */ -define('TYPO3/CMS/Rtehtmlarea/Plugins/DefaultLink', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/DOM/DOM'], diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/DefinitionList.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/DefinitionList.js index bdb33bf152fb..597de0656a1d 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/DefinitionList.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/DefinitionList.js @@ -14,8 +14,7 @@ /** * DefinitionList Plugin for TYPO3 htmlArea RTE */ -define('TYPO3/CMS/Rtehtmlarea/Plugins/DefinitionList', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', 'TYPO3/CMS/Rtehtmlarea/Plugins/BlockElements', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util', diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/EditElement.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/EditElement.js index fea2ce0daa4d..8d2006c548bc 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/EditElement.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/EditElement.js @@ -14,8 +14,7 @@ /** * EditElement plugin for htmlArea RTE */ -define('TYPO3/CMS/Rtehtmlarea/Plugins/EditElement', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/DOM/DOM', 'TYPO3/CMS/Rtehtmlarea/Plugins/MicrodataSchema', diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/EditorMode.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/EditorMode.js index c90a4ec156ac..b5e52344a498 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/EditorMode.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/EditorMode.js @@ -14,8 +14,7 @@ /** * EditorMode Plugin for TYPO3 htmlArea RTE */ -define('TYPO3/CMS/Rtehtmlarea/Plugins/EditorMode', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util'], function (Plugin, Util) { diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/FindReplace.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/FindReplace.js index ebbd6c96effa..fa20b98b1556 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/FindReplace.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/FindReplace.js @@ -14,8 +14,7 @@ /** * Find and Replace Plugin for TYPO3 htmlArea RTE */ -define('TYPO3/CMS/Rtehtmlarea/Plugins/FindReplace', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util'], function (Plugin, Util) { diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/InlineElements.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/InlineElements.js index fa702bcd5aac..90e2c9ef5581 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/InlineElements.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/InlineElements.js @@ -14,8 +14,7 @@ /** * Inline Elements Plugin for TYPO3 htmlArea RTE */ -define('TYPO3/CMS/Rtehtmlarea/Plugins/InlineElements', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/DOM/DOM', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util'], diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/InsertSmiley.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/InsertSmiley.js index 5c1553b824e4..e18e5e90fcac 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/InsertSmiley.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/InsertSmiley.js @@ -14,8 +14,7 @@ /** * Insert Smiley Plugin for TYPO3 htmlArea RTE */ -define('TYPO3/CMS/Rtehtmlarea/Plugins/InsertSmiley', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Event/Event', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util'], diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/Language.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/Language.js index d5719af7544f..e75862003ee2 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/Language.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/Language.js @@ -14,8 +14,7 @@ /** * Language Plugin for TYPO3 htmlArea RTE */ -define('TYPO3/CMS/Rtehtmlarea/Plugins/Language', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/DOM/DOM', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util'], diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/MicrodataSchema.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/MicrodataSchema.js index b1cd72104174..81dfe97899b7 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/MicrodataSchema.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/MicrodataSchema.js @@ -14,8 +14,7 @@ /** * Microdata Schema Plugin for TYPO3 htmlArea RTE */ -define('TYPO3/CMS/Rtehtmlarea/Plugins/MicrodataSchema', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/DOM/DOM', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util'], diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/PlainText.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/PlainText.js index aeca90344dc4..f743bacb93d9 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/PlainText.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/PlainText.js @@ -14,8 +14,7 @@ /** * Paste as Plain Text Plugin for TYPO3 htmlArea RTE */ -define('TYPO3/CMS/Rtehtmlarea/Plugins/PlainText', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/DOM/DOM', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Event/Event', diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/QuickTag.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/QuickTag.js index 459803cbeabf..2d442d5c4f88 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/QuickTag.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/QuickTag.js @@ -14,8 +14,7 @@ /** * Quick Tag Editor Plugin for TYPO3 htmlArea RTE */ -define('TYPO3/CMS/Rtehtmlarea/Plugins/QuickTag', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Extjs/ux/ColorPaletteField'], function (Plugin, Util, ColorPaletteField) { diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/RemoveFormat.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/RemoveFormat.js index 114ff06f1a5b..b4d2404beeb1 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/RemoveFormat.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/RemoveFormat.js @@ -14,8 +14,7 @@ /** * Remove Format Plugin for TYPO3 htmlArea RTE */ -define('TYPO3/CMS/Rtehtmlarea/Plugins/RemoveFormat', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util'], function (Plugin, Util) { diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/SelectFont.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/SelectFont.js index bb58e58071d8..50cebd8f910c 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/SelectFont.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/SelectFont.js @@ -14,8 +14,7 @@ /** * SelectFont Plugin for TYPO3 htmlArea RTE */ -define('TYPO3/CMS/Rtehtmlarea/Plugins/SelectFont', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/DOM/DOM', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util'], diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/SpellChecker.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/SpellChecker.js index 69d16be070c6..8996626411ab 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/SpellChecker.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/SpellChecker.js @@ -14,8 +14,7 @@ /** * Spell Checker Plugin for TYPO3 htmlArea RTE */ -define('TYPO3/CMS/Rtehtmlarea/Plugins/SpellChecker', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/DOM/DOM'], diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/TYPO3Color.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/TYPO3Color.js index 57d9fc412266..9a79a4078da7 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/TYPO3Color.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/TYPO3Color.js @@ -14,8 +14,7 @@ /** * TYPO3 Color Plugin for TYPO3 htmlArea RTE */ -define('TYPO3/CMS/Rtehtmlarea/Plugins/TYPO3Color', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/DOM/DOM', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Color', diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/TYPO3HtmlParser.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/TYPO3HtmlParser.js index 075ae2149270..d427b28289e4 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/TYPO3HtmlParser.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/TYPO3HtmlParser.js @@ -14,8 +14,7 @@ /** * TYPO3HtmlParser Plugin for TYPO3 htmlArea RTE */ -define('TYPO3/CMS/Rtehtmlarea/Plugins/TYPO3HtmlParser', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Event/Event', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util'], diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/TYPO3Image.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/TYPO3Image.js index 1111f84afd1a..c4879c57992a 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/TYPO3Image.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/TYPO3Image.js @@ -14,8 +14,7 @@ /** * TYPO3Image plugin for htmlArea RTE */ -define('TYPO3/CMS/Rtehtmlarea/Plugins/TYPO3Image', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Event/Event', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util'], diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/TYPO3Link.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/TYPO3Link.js index 6d30bc6a16e6..d2ef601dcf42 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/TYPO3Link.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/TYPO3Link.js @@ -14,8 +14,7 @@ /** * TYPO3Link plugin for htmlArea RTE */ -define('TYPO3/CMS/Rtehtmlarea/Plugins/TYPO3Link', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/DOM/DOM', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util'], diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/TableOperations.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/TableOperations.js index 33a64e97518a..b24dd6042a10 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/TableOperations.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/TableOperations.js @@ -14,8 +14,7 @@ /** * Table Operations Plugin for TYPO3 htmlArea RTE */ -define('TYPO3/CMS/Rtehtmlarea/Plugins/TableOperations', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/DOM/DOM', diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/TextIndicator.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/TextIndicator.js index 87d200c2e050..ebc27d418191 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/TextIndicator.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/TextIndicator.js @@ -14,8 +14,7 @@ /** * TextIndicator Plugin for TYPO3 htmlArea RTE */ -define('TYPO3/CMS/Rtehtmlarea/Plugins/TextIndicator', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/DOM/DOM', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Event/Event', diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/TextStyle.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/TextStyle.js index 817ef3b5eb4c..843bd1a47e51 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/TextStyle.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/TextStyle.js @@ -14,8 +14,7 @@ /** * Text Style Plugin for TYPO3 htmlArea RTE */ -define('TYPO3/CMS/Rtehtmlarea/Plugins/TextStyle', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/DOM/DOM', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Event/Event', diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/UndoRedo.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/UndoRedo.js index 232cefd648ee..b163b40f4c0c 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/UndoRedo.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/UndoRedo.js @@ -14,8 +14,7 @@ /** * Undo Redo Plugin for TYPO3 htmlArea RTE */ -define('TYPO3/CMS/Rtehtmlarea/Plugins/UndoRedo', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util'], function (Plugin, UserAgent, Util) { diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/UserElements.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/UserElements.js index 6c2bbbf2e85a..eee96747e4f3 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/UserElements.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/UserElements.js @@ -14,8 +14,7 @@ /** * User Elements Plugin for TYPO3 htmlArea RTE */ -define('TYPO3/CMS/Rtehtmlarea/Plugins/UserElements', - ['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', +define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin', 'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util'], function (Plugin, Util) { diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/RteLinkBrowser.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/RteLinkBrowser.js index ba00a1debc6d..81e1247c7a7c 100644 --- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/RteLinkBrowser.js +++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/RteLinkBrowser.js @@ -14,7 +14,7 @@ /** * LinkBrowser communication with parent window */ -define('TYPO3/CMS/Rtehtmlarea/RteLinkBrowser', ['jquery', 'TYPO3/CMS/Recordlist/LinkBrowser'], function($, LinkBrowser) { +define(['jquery', 'TYPO3/CMS/Recordlist/LinkBrowser'], function($, LinkBrowser) { "use strict"; var RteLinkBrowser = { diff --git a/typo3/sysext/scheduler/Resources/Public/JavaScript/Scheduler.js b/typo3/sysext/scheduler/Resources/Public/JavaScript/Scheduler.js index c82a98c54a22..93df30219379 100644 --- a/typo3/sysext/scheduler/Resources/Public/JavaScript/Scheduler.js +++ b/typo3/sysext/scheduler/Resources/Public/JavaScript/Scheduler.js @@ -11,7 +11,7 @@ * The TYPO3 project - inspiring people to share! */ -define('TYPO3/CMS/Scheduler/Scheduler', ['jquery'], function($) { +define(['jquery'], function($) { var Scheduler = {}; diff --git a/typo3/sysext/sys_action/Resources/Public/JavaScript/ActionTask.js b/typo3/sysext/sys_action/Resources/Public/JavaScript/ActionTask.js index 2bcd38362855..c8b898e3cf31 100644 --- a/typo3/sysext/sys_action/Resources/Public/JavaScript/ActionTask.js +++ b/typo3/sysext/sys_action/Resources/Public/JavaScript/ActionTask.js @@ -14,7 +14,7 @@ /** * JavaScript to handle confirm windows in the task center module */ -define('TYPO3/CMS/SysAction/ActionTask', ['jquery'], function ($) { +define(['jquery'], function ($) { $(function() { $(document).on('click', '.t3js-confirm-trigger', function(e) { e.preventDefault(); diff --git a/typo3/sysext/t3editor/Resources/Public/JavaScript/FileEdit.js b/typo3/sysext/t3editor/Resources/Public/JavaScript/FileEdit.js index 5cb234dbc262..484de9d27cc1 100644 --- a/typo3/sysext/t3editor/Resources/Public/JavaScript/FileEdit.js +++ b/typo3/sysext/t3editor/Resources/Public/JavaScript/FileEdit.js @@ -14,7 +14,7 @@ /** * File edit for ext:t3editor */ -define('TYPO3/CMS/T3editor/FileEdit', ['jquery', 'TYPO3/CMS/T3editor/T3editor'], function ($, T3editor) { +define(['jquery', 'TYPO3/CMS/T3editor/T3editor'], function ($, T3editor) { $(document).ready(function() { diff --git a/typo3/sysext/t3editor/Resources/Public/JavaScript/Plugins/CodeCompletion/CompletionResult.js b/typo3/sysext/t3editor/Resources/Public/JavaScript/Plugins/CodeCompletion/CompletionResult.js index 9be6fb249386..4cb0d092c528 100644 --- a/typo3/sysext/t3editor/Resources/Public/JavaScript/Plugins/CodeCompletion/CompletionResult.js +++ b/typo3/sysext/t3editor/Resources/Public/JavaScript/Plugins/CodeCompletion/CompletionResult.js @@ -14,7 +14,7 @@ /** * Contains the CompletionResult class */ -define('TYPO3/CMS/T3editor/Plugins/CodeCompletion/CompletionResult', ['jquery'], function ($) { +define(['jquery'], function ($) { var CompletionResult = { tsRef: null, tsTreeNode: null @@ -104,4 +104,4 @@ define('TYPO3/CMS/T3editor/Plugins/CodeCompletion/CompletionResult', ['jquery'], }; return CompletionResult; -}); \ No newline at end of file +}); diff --git a/typo3/sysext/t3editor/Resources/Public/JavaScript/Plugins/CodeCompletion/DescriptionPlugin.js b/typo3/sysext/t3editor/Resources/Public/JavaScript/Plugins/CodeCompletion/DescriptionPlugin.js index 1420fe8ea2e0..5e3c18c1eab6 100644 --- a/typo3/sysext/t3editor/Resources/Public/JavaScript/Plugins/CodeCompletion/DescriptionPlugin.js +++ b/typo3/sysext/t3editor/Resources/Public/JavaScript/Plugins/CodeCompletion/DescriptionPlugin.js @@ -15,7 +15,7 @@ * Descriptionbox plugin for the t3editor-codecompletion which displays the datatype * and the desciption for each property displayed in the completionbox **/ -define('TYPO3/CMS/T3editor/Plugins/CodeCompletion/DescriptionPlugin', [ +define([ 'jquery', 'TYPO3/CMS/T3editor/Plugins/CodeCompletion/TsRef', 'TYPO3/CMS/T3editor/Plugins/CodeCompletion/TsParser' @@ -113,4 +113,4 @@ define('TYPO3/CMS/T3editor/Plugins/CodeCompletion/DescriptionPlugin', [ }; return DescriptionPlugin; -}); \ No newline at end of file +}); diff --git a/typo3/sysext/t3editor/Resources/Public/JavaScript/Plugins/CodeCompletion/TsCodeCompletion.js b/typo3/sysext/t3editor/Resources/Public/JavaScript/Plugins/CodeCompletion/TsCodeCompletion.js index 25820a0c2529..24ffb8a56a51 100644 --- a/typo3/sysext/t3editor/Resources/Public/JavaScript/Plugins/CodeCompletion/TsCodeCompletion.js +++ b/typo3/sysext/t3editor/Resources/Public/JavaScript/Plugins/CodeCompletion/TsCodeCompletion.js @@ -14,7 +14,7 @@ /** * Contains the TsCodeCompletion class */ -define('TYPO3/CMS/T3editor/Plugins/CodeCompletion/TsCodeCompletion', [ +define([ 'jquery', 'TYPO3/CMS/T3editor/Plugins/CodeCompletion/TsRef', 'TYPO3/CMS/T3editor/Plugins/CodeCompletion/TsParser', @@ -608,4 +608,4 @@ define('TYPO3/CMS/T3editor/Plugins/CodeCompletion/TsCodeCompletion', [ }); return TsCodeCompletion; -}); \ No newline at end of file +}); diff --git a/typo3/sysext/t3editor/Resources/Public/JavaScript/Plugins/CodeCompletion/TsParser.js b/typo3/sysext/t3editor/Resources/Public/JavaScript/Plugins/CodeCompletion/TsParser.js index b8c1c4a1810f..b66803d97a3f 100644 --- a/typo3/sysext/t3editor/Resources/Public/JavaScript/Plugins/CodeCompletion/TsParser.js +++ b/typo3/sysext/t3editor/Resources/Public/JavaScript/Plugins/CodeCompletion/TsParser.js @@ -14,7 +14,7 @@ /** * Contains the TsCodeCompletion class */ -define('TYPO3/CMS/T3editor/Plugins/CodeCompletion/TsParser', [ +define([ 'jquery', 'TYPO3/CMS/T3editor/Plugins/CodeCompletion/TsRef' ], function ($) { var TsParser = { @@ -499,4 +499,4 @@ define('TYPO3/CMS/T3editor/Plugins/CodeCompletion/TsParser', [ }; return TsParser; -}); \ No newline at end of file +}); diff --git a/typo3/sysext/t3editor/Resources/Public/JavaScript/Plugins/CodeCompletion/TsRef.js b/typo3/sysext/t3editor/Resources/Public/JavaScript/Plugins/CodeCompletion/TsRef.js index 5b7514ed5f69..2801bbf3b700 100644 --- a/typo3/sysext/t3editor/Resources/Public/JavaScript/Plugins/CodeCompletion/TsRef.js +++ b/typo3/sysext/t3editor/Resources/Public/JavaScript/Plugins/CodeCompletion/TsRef.js @@ -14,7 +14,7 @@ /** * Contains the TsCodeCompletion class */ -define('TYPO3/CMS/T3editor/Plugins/CodeCompletion/TsRef', ['jquery'], function ($) { +define(['jquery'], function ($) { var TsRef = { typeId: null, properties: null, diff --git a/typo3/sysext/t3editor/Resources/Public/JavaScript/T3editor.js b/typo3/sysext/t3editor/Resources/Public/JavaScript/T3editor.js index fa3e1231b89f..cd859799f790 100644 --- a/typo3/sysext/t3editor/Resources/Public/JavaScript/T3editor.js +++ b/typo3/sysext/t3editor/Resources/Public/JavaScript/T3editor.js @@ -11,7 +11,7 @@ * The TYPO3 project - inspiring people to share! */ -define('TYPO3/CMS/T3editor/T3editor', ['jquery', 'TYPO3/CMS/Backend/SplitButtons'], function ($, SplitButtons) { +define(['jquery', 'TYPO3/CMS/Backend/SplitButtons'], function ($, SplitButtons) { var T3editor = { instances: {} diff --git a/typo3/sysext/taskcenter/Resources/Public/JavaScript/Taskcenter.js b/typo3/sysext/taskcenter/Resources/Public/JavaScript/Taskcenter.js index aeb54c8f99f6..6665e693b3fe 100644 --- a/typo3/sysext/taskcenter/Resources/Public/JavaScript/Taskcenter.js +++ b/typo3/sysext/taskcenter/Resources/Public/JavaScript/Taskcenter.js @@ -11,7 +11,7 @@ * The TYPO3 project - inspiring people to share! */ -define('TYPO3/CMS/Taskcenter/Taskcenter', ['jquery', 'jquery-ui/sortable'], function($) { +define(['jquery', 'jquery-ui/sortable'], function($) { var Taskcenter = {}; diff --git a/typo3/sysext/tstemplate/Resources/Public/JavaScript/ConstantEditor.js b/typo3/sysext/tstemplate/Resources/Public/JavaScript/ConstantEditor.js index e60dca368590..8542373a86e7 100644 --- a/typo3/sysext/tstemplate/Resources/Public/JavaScript/ConstantEditor.js +++ b/typo3/sysext/tstemplate/Resources/Public/JavaScript/ConstantEditor.js @@ -15,7 +15,7 @@ * Various functions related to the Constant Editor * e.g. updating the field and working with colors */ -define('TYPO3/CMS/Tstemplate/ConstantEditor', ['jquery'], function($) { +define(['jquery'], function($) { var ConstantEditor = { options: { @@ -93,4 +93,4 @@ define('TYPO3/CMS/Tstemplate/ConstantEditor', ['jquery'], function($) { }); return ConstantEditor; }(); -}); \ No newline at end of file +}); diff --git a/typo3/sysext/tstemplate/Resources/Public/JavaScript/TypoScriptObjectBrowser.js b/typo3/sysext/tstemplate/Resources/Public/JavaScript/TypoScriptObjectBrowser.js index 497b1591ad52..2acd62e447cd 100644 --- a/typo3/sysext/tstemplate/Resources/Public/JavaScript/TypoScriptObjectBrowser.js +++ b/typo3/sysext/tstemplate/Resources/Public/JavaScript/TypoScriptObjectBrowser.js @@ -14,7 +14,7 @@ /** * JavaScript for TypoScript Object Browser */ -define('TYPO3/CMS/Tstemplate/TypoScriptObjectBrowser', ['jquery', 'TYPO3/CMS/Backend/jquery.clearable'], function($) { +define(['jquery', 'TYPO3/CMS/Backend/jquery.clearable'], function($) { var $searchFields = $('input[name="search_field"]'); var searchResultShown = ('' !== $searchFields.first().val()); @@ -28,4 +28,4 @@ define('TYPO3/CMS/Tstemplate/TypoScriptObjectBrowser', ['jquery', 'TYPO3/CMS/Bac } }); -}); \ No newline at end of file +}); diff --git a/typo3/sysext/wizard_crpages/Resources/Public/JavaScript/WizardCreatePages.js b/typo3/sysext/wizard_crpages/Resources/Public/JavaScript/WizardCreatePages.js index 760d766b4cce..eb0c7c21930c 100644 --- a/typo3/sysext/wizard_crpages/Resources/Public/JavaScript/WizardCreatePages.js +++ b/typo3/sysext/wizard_crpages/Resources/Public/JavaScript/WizardCreatePages.js @@ -14,7 +14,7 @@ /** * JavaScript functions for creating multiple pages */ -define('TYPO3/CMS/WizardCrpages/WizardCreatePages', ['jquery'], function($) { +define(['jquery'], function($) { var WizardCreatePages = { lineCounter: 5, diff --git a/typo3/sysext/workspaces/Resources/Public/JavaScript/Toolbar/WorkspacesMenu.js b/typo3/sysext/workspaces/Resources/Public/JavaScript/Toolbar/WorkspacesMenu.js index 542c7bfe9c80..0cbdb3eaf39a 100644 --- a/typo3/sysext/workspaces/Resources/Public/JavaScript/Toolbar/WorkspacesMenu.js +++ b/typo3/sysext/workspaces/Resources/Public/JavaScript/Toolbar/WorkspacesMenu.js @@ -15,7 +15,7 @@ * toolbar menu for the workspaces functionality to switch between the workspaces * and jump to the workspaces module */ -define('TYPO3/CMS/Workspaces/Toolbar/WorkspacesMenu', ['jquery'], function($) { +define(['jquery'], function($) { var WorkspacesMenu = { options: { -- GitLab