MDL-38507 JavaScript: Move definition of YUI_config before setup of SimpleYUI
commit43bd811891fe19aa43fd0bb9bf1ad9d3b392b1b4
authorAndrew Robert Nicols <andrew.nicols@luns.net.uk>
Sat, 16 Mar 2013 12:57:15 +0000 (16 12:57 +0000)
committerAndrew Robert Nicols <andrew.nicols@luns.net.uk>
Sun, 17 Mar 2013 16:30:39 +0000 (17 16:30 +0000)
tree3030c1bd90b694c46eec606e50b4222033a2f494
parentb3c78403b071b1c2ad14a54c6fd3315fa56dd4c6
MDL-38507 JavaScript: Move definition of YUI_config before setup of SimpleYUI

Since moving to SimpleYUI, the order of inclusion for the YUI_config
variable is more important.

Simple YUI defines a global instance of YUI so that it can be used without
specifying the full YUI().use() syntax. As a result, any configuration
applied when that global instance is setup must exist already.
lib/outputrequirementslib.php