MDL-21187 brand new yui2 lib loading now using the official YAHOO oholoaders which properly resolves all dependencies; please note we are still suing the YUI2 CSS preloading
This commit is contained in:
+2
-2
@@ -167,7 +167,7 @@ function resourcelib_embed_mp3($fullurl, $title, $clicktoopen) {
|
||||
</div>
|
||||
OET;
|
||||
|
||||
$PAGE->requires->yui2_lib('dom')->in_head();
|
||||
$PAGE->requires->yui2_lib('dom');
|
||||
$PAGE->requires->js('lib/ufo.js')->in_head();
|
||||
$PAGE->requires->js('lib/resourcelib.js')->in_head();
|
||||
$code .= $PAGE->requires->data_for_js('FO', $ufoargs)->asap();
|
||||
@@ -213,7 +213,7 @@ function resourcelib_embed_flashvideo($fullurl, $title, $clicktoopen) {
|
||||
</div>
|
||||
EOT;
|
||||
|
||||
$PAGE->requires->yui2_lib('dom')->in_head();
|
||||
$PAGE->requires->yui2_lib('dom');
|
||||
$PAGE->requires->js('lib/ufo.js')->in_head();
|
||||
$PAGE->requires->js('lib/resourcelib.js')->in_head();
|
||||
$code .= $PAGE->requires->data_for_js('FO', $ufoargs)->asap();
|
||||
|
||||
Reference in New Issue
Block a user