From 05cdfa4da4b64cf2efe810461c91562d70b1d207 Mon Sep 17 00:00:00 2001 From: Jun Pataleta Date: Thu, 2 Mar 2023 13:11:43 +0800 Subject: [PATCH] MDL-75012 js: Remove orphaned source maps --- mod/bigbluebuttonbn/amd/build/accept_dpa.min.js.map | 1 - 1 file changed, 1 deletion(-) delete mode 100644 mod/bigbluebuttonbn/amd/build/accept_dpa.min.js.map diff --git a/mod/bigbluebuttonbn/amd/build/accept_dpa.min.js.map b/mod/bigbluebuttonbn/amd/build/accept_dpa.min.js.map deleted file mode 100644 index 6102b8841a0..00000000000 --- a/mod/bigbluebuttonbn/amd/build/accept_dpa.min.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"accept_dpa.min.js","sources":["../src/accept_dpa.js"],"sourcesContent":["// This file is part of Moodle - http://moodle.org/\n//\n// Moodle is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// Moodle is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n//\n// You should have received a copy of the GNU General Public License\n// along with Moodle. If not, see .\n\n/**\n * Javascript module for confirming the acceptance of the current data processing agreement before enabling\n * the BigBlueButton activity module.\n *\n * @module mod_bigbluebuttonbn/accept_dpa\n * @copyright 2022 Mihail Geshoski \n * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later\n */\n\nimport ModalForm from 'core_form/modalform';\nimport Notification from 'core/notification';\nimport {get_string as getString} from 'core/str';\n\n/**\n * Initialize module.\n */\nexport const init = () => {\n\n const modalForm = new ModalForm({\n modalConfig: {\n title: getString('enablingbigbluebutton', 'mod_bigbluebuttonbn'),\n large: false,\n },\n formClass: 'mod_bigbluebuttonbn\\\\form\\\\accept_dpa',\n saveButtonText: getString('enable'),\n });\n\n // Once the form has been submitted and successfully processed, reload the page to enable the activity module.\n modalForm.addEventListener(modalForm.events.FORM_SUBMITTED, event => {\n if (event.detail.result) {\n window.location.reload();\n } else {\n Notification.addNotification({\n type: 'error',\n message: event.detail.errors.join('
')\n });\n }\n });\n\n modalForm.show();\n};\n"],"names":["_interopRequireDefault","obj","__esModule","default","_modalform","_notification","_exports","init","modalForm","ModalForm","modalConfig","title","getString","large","formClass","saveButtonText","get_string","addEventListener","events","FORM_SUBMITTED","event","detail","result","window","location","reload","Notification","addNotification","type","message","errors","join","show"],"mappings":"2JAyB6C,SAAAA,uBAAAC,KAAAA,OAAAA,KAAAA,IAAAC,WAAAD,IAAAE,CAAAA,QAAAF,IAAA;;;;;;;;kFAD7CG,WAAAJ,uBAAAI,YACAC,cAAAL,uBAAAK,eA8BEC,SAAAC,KAxBkBA,KAEhB,MAAMC,UAAY,IAAIC,WAAAA,QAAU,CAC5BC,YAAa,CACTC,OAAO,EAAAC,KAAAA,YAAU,wBAAyB,uBAC1CC,OAAO,GAEXC,UAAW,wCACXC,gBAAgB,EAAAH,KAASI,YAAC,YAI9BR,UAAUS,iBAAiBT,UAAUU,OAAOC,gBAAgBC,QACpDA,MAAMC,OAAOC,OACbC,OAAOC,SAASC,SAEhBC,cAAYvB,QAACwB,gBAAgB,CACzBC,KAAM,QACNC,QAAUT,MAAMC,OAAOS,OAAOC,KAAK,SAE3C,IAGJvB,UAAUwB,MAAM,CAClB"} \ No newline at end of file -- 2.11.4.GIT