Current Path : C:/xampp/htdocs/moodle/mod/quiz/amd/build/ |
Current File : C:/xampp/htdocs/moodle/mod/quiz/amd/build/repaginate.min.js.map |
{"version":3,"sources":["../src/repaginate.js"],"names":["define","$","ModalFactory","SELECTORS","REPAGINATECOMMAND","HEADER","BODY","init","create","title","data","body","large"],"mappings":"AAuBAA,OAAM,uBAAC,CAAC,QAAD,CAAW,oBAAX,CAAD,CAAmC,SAASC,CAAT,CAAYC,CAAZ,CAA0B,IAE3DC,CAAAA,CAAS,CAAG,CACZC,iBAAiB,CAAE,oBADP,CAEZC,MAAM,CAAE,QAFI,CAGZC,IAAI,CAAE,MAHM,CAF+C,CAqB/D,MAAO,CACHC,IAAI,CAXG,QAAPA,CAAAA,IAAO,EAAW,CAClBL,CAAY,CAACM,MAAb,CACI,CACIC,KAAK,CAAER,CAAC,CAACE,CAAS,CAACC,iBAAX,CAAD,CAA+BM,IAA/B,CAAoCP,CAAS,CAACE,MAA9C,CADX,CAEIM,IAAI,CAAEV,CAAC,CAACE,CAAS,CAACC,iBAAX,CAAD,CAA+BM,IAA/B,CAAoCP,CAAS,CAACG,IAA9C,CAFV,CAGIM,KAAK,GAHT,CADJ,CAMIX,CAAC,CAACE,CAAS,CAACC,iBAAX,CANL,CAQH,CACM,CAGV,CAxBK,CAAN","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 <http://www.gnu.org/licenses/>.\n\n/**\n * Initialise the repaginate dialogue on quiz editing page.\n *\n * @module mod_quiz/repaginate\n * @package mod_quiz\n * @copyright 2019 The Open University\n * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later\n */\ndefine(['jquery', 'core/modal_factory'], function($, ModalFactory) {\n\n var SELECTORS = {\n REPAGINATECOMMAND: '#repaginatecommand',\n HEADER: 'header',\n BODY: 'form'\n };\n\n /**\n * Initialise the repaginate button and add the event listener.\n */\n var init = function() {\n ModalFactory.create(\n {\n title: $(SELECTORS.REPAGINATECOMMAND).data(SELECTORS.HEADER),\n body: $(SELECTORS.REPAGINATECOMMAND).data(SELECTORS.BODY),\n large: false,\n },\n $(SELECTORS.REPAGINATECOMMAND)\n );\n };\n return {\n init: init\n };\n});\n"],"file":"repaginate.min.js"}