From 44946baf044e1b3b269c285bdd0db6db52e8f8ae Mon Sep 17 00:00:00 2001 From: Mark Nelson Date: Thu, 12 Apr 2018 17:03:31 +0800 Subject: [PATCH] MDL-60848 core: added instructions on how to update adapter.js --- lib/amd/src/adapter.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lib/amd/src/adapter.js b/lib/amd/src/adapter.js index 09007a3583a..282f7b2c236 100644 --- a/lib/amd/src/adapter.js +++ b/lib/amd/src/adapter.js @@ -1,3 +1,15 @@ +/** + * Description of import/upgrade into Moodle: + * + * 1. Visit https://github.com/webrtc/adapter/releases. + * 2. Check if the version has been updated from what is listed in lib/thirdpartylibs.xml in the Moodle wwwroot. + * 3. If it has - + * 1. Download the source code. + * 2. Copy the content of the file release/adapter.js from the archive (ignore the first line). + * 3. Replace the content below "return (function e(t,n,r) .." in this file with the content you copied. + * 4. Ensure to update lib/thirdpartylibs.xml with any changes. + */ + // ESLint directives. /* eslint-disable */