"Fossies" - the Fresh Open Source Software Archive

Member "moodle/lib/polyfills/readme_moodle.txt" (28 Jul 2021, 509 Bytes) of package /linux/www/moodle-latest-39.tgz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 The steps are essentially:
    2 1) Install mdn-polyfills and url-polyfill packages
    3 
    4     npm install --no-save mdn-polyfills url-polyfill
    5 
    6 2) Join them all together:
    7 
    8     cd node_modules/mdn-polyfills
    9     cat CustomEvent.* Element.* Function.* HTMLCanvasElement.* MouseEvent.* Node.prototype.* NodeList.* > ../../lib/polyfills/polyfill.js
   10     cd ../url-polyfill/
   11     cat url-polyfill.min.js >> ../../lib/polyfills/polyfill.js
   12 
   13 3) Uninstall the packages again
   14 
   15     npm uninstall --no-save mdn-polyfills url-polyfill