jQuery now in library/js. Patched to load as H5P.jQuery
parent
7db3def124
commit
90bc40fcc4
12
js/h5p.js
12
js/h5p.js
|
@ -90,11 +90,7 @@ Array.prototype.contains = function (needle) {
|
||||||
return (this.indexOf(needle) > -1);
|
return (this.indexOf(needle) > -1);
|
||||||
};
|
};
|
||||||
|
|
||||||
// We want our own jQuery version, regardless of what the containing page is
|
// Finally, we want to run init when document is ready.
|
||||||
// up to.
|
H5P.jQuery(document).ready(function(){
|
||||||
// TODO: Does not work properly in <IE10
|
H5P.init();
|
||||||
(function () {
|
});
|
||||||
document.writeln('<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>');
|
|
||||||
document.writeln('<script src="http://code.jquery.com/ui/1.9.2/jquery-ui.js"></script>');
|
|
||||||
document.writeln('<script>H5P.jQuery = jQuery.noConflict(true); H5P.jQuery(document).ready(function(){H5P.init();});</script>');
|
|
||||||
})();
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue