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,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);
......
......@@ -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() {
......
......@@ -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,
......
......@@ -11,7 +11,7 @@
* The TYPO3 project - inspiring people to share!
*/
define('TYPO3/CMS/Linkvalidator/Linkvalidator', ['jquery'], function($) {
define(['jquery'], function($) {
var Linkvalidator = {};
......
......@@ -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>', {
......
......@@ -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() {
......
......@@ -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 = {
......
......@@ -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() {
......
......@@ -14,7 +14,7 @@
/**
* ElementBrowser communication with parent windows
*/
define('TYPO3/CMS/Recordlist/ElementBrowser', ['jquery'], function($) {
define(['jquery'], function($) {
"use strict";
var ElementBrowser = {
......
......@@ -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() {
......
......@@ -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 = {
......
......@@ -14,7 +14,7 @@
/**
* LinkBrowser communication with parent window
*/
define('TYPO3/CMS/Recordlist/LinkBrowser', ['jquery'], function($) {
define(['jquery'], function($) {
"use strict";
var LinkBrowser = {
......
......@@ -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 = {};
......
......@@ -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 = {
......
......@@ -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 = {
......
......@@ -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]', {
......
......@@ -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 = {};
......
......@@ -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 = {
......
......@@ -14,8 +14,7 @@
/**
* Ajax object
*/
define('TYPO3/CMS/Rtehtmlarea/HTMLArea/Ajax/Ajax',
['jquery',
define(['jquery',
'TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/Util'],
function($, Util) {
......
......@@ -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) {
......
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