Your IP : 192.168.165.1


Current Path : C:/Users/Mahmood/Desktop/moodle/question/amd/build/
Upload File :
Current File : C:/Users/Mahmood/Desktop/moodle/question/amd/build/repository.min.js.map

{"version":3,"sources":["../src/repository.js"],"names":["define","$","Ajax","submitTagCreateUpdateForm","questionId","contextId","formdata","call","methodname","args","questionid","contextid"],"mappings":"AAwBAA,OAAM,4BAAC,CAAC,QAAD,CAAW,WAAX,CAAD,CAA0B,SAASC,CAAT,CAAYC,CAAZ,CAAkB,CAsB9C,MAAO,CACHC,yBAAyB,CAdG,QAA5BA,CAAAA,yBAA4B,CAASC,CAAT,CAAqBC,CAArB,CAAgCC,CAAhC,CAA0C,CAUtE,MAAOJ,CAAAA,CAAI,CAACK,IAAL,CAAU,CATH,CACVC,UAAU,CAAE,gCADF,CAEVC,IAAI,CAAE,CACFC,UAAU,CAAEN,CADV,CAEFO,SAAS,CAAEN,CAFT,CAGFC,QAAQ,CAAEA,CAHR,CAFI,CASG,CAAV,EAAqB,CAArB,CACV,CAEM,CAGV,CAzBK,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 * A javascript module to handle question ajax actions.\n *\n * @module     core_question/repository\n * @class      repository\n * @package    core_question\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 {string} formdata The URL encoded values from the form\n     * @return {promise}\n     */\n    var submitTagCreateUpdateForm = function(questionId, contextId, formdata) {\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"],"file":"repository.min.js"}