mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 09:26:35 +02:00
Merge branch 'master_MDL-65700' of https://github.com/golenkovm/moodle
This commit is contained in:
commit
55339ca9d0
8 changed files with 29 additions and 18 deletions
|
@ -62,7 +62,7 @@ lib/amd/src/popper.js
|
||||||
lib/geopattern-php/
|
lib/geopattern-php/
|
||||||
lib/php-jwt/
|
lib/php-jwt/
|
||||||
lib/babel-polyfill/
|
lib/babel-polyfill/
|
||||||
lib/mdn-polyfills/
|
lib/polyfills/
|
||||||
lib/emoji-data/
|
lib/emoji-data/
|
||||||
media/player/videojs/amd/src/video-lazy.js
|
media/player/videojs/amd/src/video-lazy.js
|
||||||
media/player/videojs/amd/src/Youtube-lazy.js
|
media/player/videojs/amd/src/Youtube-lazy.js
|
||||||
|
|
|
@ -63,7 +63,7 @@ lib/amd/src/popper.js
|
||||||
lib/geopattern-php/
|
lib/geopattern-php/
|
||||||
lib/php-jwt/
|
lib/php-jwt/
|
||||||
lib/babel-polyfill/
|
lib/babel-polyfill/
|
||||||
lib/mdn-polyfills/
|
lib/polyfills/
|
||||||
lib/emoji-data/
|
lib/emoji-data/
|
||||||
media/player/videojs/amd/src/video-lazy.js
|
media/player/videojs/amd/src/video-lazy.js
|
||||||
media/player/videojs/amd/src/Youtube-lazy.js
|
media/player/videojs/amd/src/Youtube-lazy.js
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
The steps are essentially:
|
|
||||||
1) Install mdn-polyfills package
|
|
||||||
|
|
||||||
npm install --no-save mdn-polyfills
|
|
||||||
|
|
||||||
2) Join them all together:
|
|
||||||
|
|
||||||
cd node_modules/mdn-polyfills
|
|
||||||
cat CustomEvent.* Element.* Function.* HTMLCanvasElement.* MouseEvent.* Node.prototype.* NodeList.* > ../../lib/mdn-polyfills/polyfill.js
|
|
||||||
|
|
||||||
3) Uninstall the package again
|
|
||||||
|
|
||||||
npm uninstall --no-save mdn-polyfills
|
|
|
@ -1608,8 +1608,8 @@ class page_requirements_manager {
|
||||||
$output .= html_writer::script('', $this->js_fix_url('/lib/babel-polyfill/polyfill.min.js'));
|
$output .= html_writer::script('', $this->js_fix_url('/lib/babel-polyfill/polyfill.min.js'));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Include the MDN Polyfill.
|
// Include the Polyfills.
|
||||||
$output .= html_writer::script('', $this->js_fix_url('/lib/mdn-polyfills/polyfill.js'));
|
$output .= html_writer::script('', $this->js_fix_url('/lib/polyfills/polyfill.js'));
|
||||||
|
|
||||||
// YUI3 JS needs to be loaded early in the body. It should be cached well by the browser.
|
// YUI3 JS needs to be loaded early in the body. It should be cached well by the browser.
|
||||||
$output .= $this->get_yui3lib_headcode();
|
$output .= $this->get_yui3lib_headcode();
|
||||||
|
|
File diff suppressed because one or more lines are too long
15
lib/polyfills/readme_moodle.txt
Normal file
15
lib/polyfills/readme_moodle.txt
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
The steps are essentially:
|
||||||
|
1) Install mdn-polyfills and url-polyfill packages
|
||||||
|
|
||||||
|
npm install --no-save mdn-polyfills url-polyfill
|
||||||
|
|
||||||
|
2) Join them all together:
|
||||||
|
|
||||||
|
cd node_modules/mdn-polyfills
|
||||||
|
cat CustomEvent.* Element.* Function.* HTMLCanvasElement.* MouseEvent.* Node.prototype.* NodeList.* > ../../lib/polyfills/polyfill.js
|
||||||
|
cd ../url-polyfill/
|
||||||
|
cat url-polyfill.min.js >> ../../lib/polyfills/polyfill.js
|
||||||
|
|
||||||
|
3) Uninstall the packages again
|
||||||
|
|
||||||
|
npm uninstall --no-save mdn-polyfills url-polyfill
|
|
@ -309,7 +309,7 @@
|
||||||
<version>7.7.0</version>
|
<version>7.7.0</version>
|
||||||
</library>
|
</library>
|
||||||
<library>
|
<library>
|
||||||
<location>mdn-polyfills</location>
|
<location>polyfills</location>
|
||||||
<name>mdn-polyfill</name>
|
<name>mdn-polyfill</name>
|
||||||
<license>MIT</license>
|
<license>MIT</license>
|
||||||
<version>5.19.0</version>
|
<version>5.19.0</version>
|
||||||
|
@ -320,4 +320,10 @@
|
||||||
<license>MIT</license>
|
<license>MIT</license>
|
||||||
<version>4.1.0</version>
|
<version>4.1.0</version>
|
||||||
</library>
|
</library>
|
||||||
|
<library>
|
||||||
|
<location>polyfills</location>
|
||||||
|
<name>url-polyfill</name>
|
||||||
|
<license>MIT</license>
|
||||||
|
<version>1.1.8</version>
|
||||||
|
</library>
|
||||||
</libraries>
|
</libraries>
|
||||||
|
|
|
@ -36,6 +36,8 @@ information provided here is intended especially for developers.
|
||||||
* grade_item::update_final_grade() can now take an optional parameter to set the grade->timemodified. If not present the current time will carry on being used.
|
* grade_item::update_final_grade() can now take an optional parameter to set the grade->timemodified. If not present the current time will carry on being used.
|
||||||
* lib/outputrequirementslib::get_jsrev now is public, it can be called from other classes.
|
* lib/outputrequirementslib::get_jsrev now is public, it can be called from other classes.
|
||||||
* H5P libraries have been moved from /lib/h5p to h5p/h5plib as an h5plib plugintype.
|
* H5P libraries have been moved from /lib/h5p to h5p/h5plib as an h5plib plugintype.
|
||||||
|
* mdn-polyfills has been renamed to polyfills. The reason there is no polyfill from the MDN is
|
||||||
|
because there is no example polyfills on the MDN for this functionality.
|
||||||
|
|
||||||
=== 3.8 ===
|
=== 3.8 ===
|
||||||
* Add CLI option to notify all cron tasks to stop: admin/cli/cron.php --stop
|
* Add CLI option to notify all cron tasks to stop: admin/cli/cron.php --stop
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue