[FEATURE] Add jQuery API to the pagerenderer
authorBenjamin Mack <benni@typo3.org>
Thu, 5 Jul 2012 12:46:30 +0000 (14:46 +0200)
committerOliver Hader <oliver.hader@typo3.org>
Fri, 6 Jul 2012 15:37:23 +0000 (17:37 +0200)
commitd3d6745ff71d769bb78c0a6f8f5c85189cd15368
treef4fc2a7751379f1470ac38e00f007b925d57cf09
parentabf368df0dde9712a53ec3e1c3f62e3dd475f6b2
[FEATURE] Add jQuery API to the pagerenderer

jQuery 1.8 (beta1 currently, final will be released in July 2012)
is now included in the typo3/contrib/ directory.
Additionally jQuery in a noConflict mode is available in the
TYPO3 Backend through "TYPO3.jQuery".
The page renderer also has methods to include jQuery versions
through CDNs and different versions.

It also add namespace support, so that multiple versions of jQuery
can be included in different namespaces. It is also possible
to disable the namespace completely and let jQuery register itself
globally which can be useful for frontend rendering.

Once the final 1.8 version is released, the minified version of jQuery
should be included as well. Currently we included two files both with
the uncompressed version of jQuery 1.8 beta1

The support for jQuery Plugins and for TypoScript inclusion will be
added in separate commits.

Change-Id: I659e50867a189fe4b7d5ac8313040dcecb58ee71
Resolves: #38709
Reviewed-on: http://review.typo3.org/12222
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
Reviewed-by: Ingo Renner
Tested-by: Ingo Renner
t3lib/class.t3lib_pagerenderer.php
tests/Unit/t3lib/class.t3lib_pagerendererTest.php
typo3/contrib/jquery/jquery-1.8b1.js [new file with mode: 0644]
typo3/contrib/jquery/jquery-1.8b1.min.js [new file with mode: 0644]