Commit a208b81e authored by Frank Nägler's avatar Frank Nägler Committed by Markus Klein
Browse files

[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's avatarWouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters's avatarWouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein's avatarMarkus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein's avatarMarkus Klein <markus.klein@typo3.org>
parent 690ef9ce
......@@ -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',
......
......@@ -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) {
......
......@@ -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,
......
......@@ -13,7 +13,7 @@
/***************************************************
* Color utilities
***************************************************/
define('TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Color', [], function () {
define([], function () {
return {
......
......@@ -13,8 +13,7 @@
/***************************************************
* Make resizable
***************************************************/
define('TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Resizable',
['jquery',
define(['jquery',
'jquery-ui/resizable'],
function ($, Resizable) {
......
......@@ -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
......
......@@ -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) {
......
......@@ -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 = {
......
......@@ -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 = {
......
......@@ -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 = {
......
......@@ -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) {
......
......@@ -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) {
......
......@@ -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',
......
......@@ -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',
......
......@@ -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'],
......
......@@ -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',
......
......@@ -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',
......
......@@ -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',
......
......@@ -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) {
......
......@@ -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) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment