%PDF- %PDF-
Direktori : /home/vacivi36/ava/mod/quiz/amd/build/ |
Current File : /home/vacivi36/ava/mod/quiz/amd/build/repaginate.min.js.map |
{"version":3,"file":"repaginate.min.js","sources":["../src/repaginate.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 <http://www.gnu.org/licenses/>.\n\n/**\n * Initialise the repaginate dialogue on quiz editing page.\n *\n * @module mod_quiz/repaginate\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"],"names":["define","$","ModalFactory","SELECTORS","init","create","title","data","body","large"],"mappings":";;;;;;;AAsBAA,6BAAO,CAAC,SAAU,uBAAuB,SAASC,EAAGC,kBAE7CC,4BACmB,qBADnBA,iBAEQ,SAFRA,eAGM,aAgBH,CACHC,KAXO,WACPF,aAAaG,OACT,CACIC,MAAOL,EAAEE,6BAA6BI,KAAKJ,kBAC3CK,KAAMP,EAAEE,6BAA6BI,KAAKJ,gBAC1CM,OAAO,GAEXR,EAAEE"}