Task #79221

Use $ instead of TYPO3.jQuery

Added by Benni Mack over 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Backend JavaScript
Target version:
Start date:
2017-01-09
Due date:
% Done:

100%

TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Sprint Focus:

Associated revisions

Revision 4a704638 (diff)
Added by Benni Mack over 2 years ago

[TASK] Use $ instead of TYPO3.jQuery

In TYPO3 6.0 we introduced TYPO3.jQuery as a possibility to have jQuery
run side-by-side with prototype.js in a no-conflict mode.

Since TYPO3 7.5, prototype.js was removed, and $ can be used.

PageRenderer now sets TYPO3.jQuery AND $ as shorthand-functionality
and all places in the TYPO3 Core are replaced with the common $
functionality, so TYPO3.jQuery should be avoided.

Resolves: #79221
Releases: master
Change-Id: I9177d7d3ad618fa7bb3a7e2ea483f39d6d4231bc
Reviewed-on: https://review.typo3.org/51212
Tested-by: TYPO3com <>
Reviewed-by: Susanne Moog <>
Tested-by: Susanne Moog <>
Reviewed-by: Andreas Fernandez <>
Reviewed-by: Georg Ringer <>
Tested-by: Georg Ringer <>

Revision 520dc986 (diff)
Added by Benni Mack about 2 years ago

[!!!][TASK] Remove TYPO3.jQuery

This change removes the availability of TYPO3.jQuery within the
TYPO3 Core by default.

The constants PageRenderer::JQUERY_NAMESPACE_DEFAULT / and
PageRenderer: JQUERY_NAMESPACE_DEFAULT_NOCONFLICT namespace options
"jQuery" are removed. This also means the removal
of having custom namespaces of jQuery (e.g. TYPO3.bennis_jQuery) leaving
"noConflict" to be used by default.

Related: #79221
Resolves: #82378
Releases: master
Change-Id: Ibc939999159dbf376b09f53aacac618ed7cc40e8
Reviewed-on: https://review.typo3.org/53237
Reviewed-by: Benni Mack <>
Tested-by: Benni Mack <>
Tested-by: TYPO3com <>
Reviewed-by: Andreas Fernandez <>
Tested-by: Andreas Fernandez <>

Revision 77152fe6 (diff)
Added by Benni Mack about 2 years ago

[FOLLOWUP][TASK] Remove TYPO3.jQuery

This followup ensures that the Frontend Request including jQuery behaves
the same as the TYPO3 Backend (noConflict is default).

Related: #79221
Resolves: #82378
Releases: master
Change-Id: Ic16fcfb6932cc32d4190e715708c58f234dde5d7
Reviewed-on: https://review.typo3.org/54074
Tested-by: TYPO3com <>
Reviewed-by: Andreas Fernandez <>
Tested-by: Andreas Fernandez <>
Reviewed-by: Benni Mack <>
Tested-by: Benni Mack <>

History

#1 Updated by Gerrit Code Review over 2 years ago

  • Status changed from New to Under Review

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51212

#2 Updated by Gerrit Code Review over 2 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51212

#3 Updated by Benni Mack over 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#4 Updated by Riccardo De Contardi almost 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF