ploneintranet/ploneintranet.theme — pull request #36 by do3cc (2014-10-29 10:34:12+00:00)
Title: fix(js): Ensure that ploneintranet.js loads early

ploneintranet.js overrides jquery during load time
...
1. plone.app.jquerytools instructs jQuery to load some
2. code after loading, and passes in the current jQuery
to that code
3. Page loaded
4. plone.app.jqueryTools registers prepOverlay with
jQuery available in 1.
5. Simplesocial uses jQuery.prepOverlay()

Without this change, jQuery gets overriden between 2 and 3.
in 4, prepOverlay gets installed in old jQuery
in 5, prepOverlay is looked up in new jQuery

With this Change, jQuery gets overriden before 1.