joomla/joomla-platform — pull request #1359 by jlleblanc (2012-07-13 04:17:29+00:00)
Title: An implementation of the JavaScript library loader and behavior.jquery

Started with @realityking's JavaScript library loader concept, made fixes, and added support for pre/post JavaScript library initialization. This should take care of the major concerns raised by developers I've heard from, while still making it possible for the vast majority to call `JHTML::_('behavior.jquery');`.

Closes pull request #1298.