%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /opt/bitnami/apps/moodle/htdocs.backup/message/amd/build/
Upload File :
Create Path :
Current File : /opt/bitnami/apps/moodle/htdocs.backup/message/amd/build/message_drawer_helper.min.js.map

{"version":3,"sources":["../src/message_drawer_helper.js"],"names":["define","PubSub","MessageDrawerEvents","createConversationWithUser","userId","publish","CREATE_CONVERSATION_WITH_USER","show","SHOW","showConversation","conversationId","SHOW_CONVERSATION","showSettings","SHOW_SETTINGS"],"mappings":"AAuBAA,OAAM,sCACN,CACI,aADJ,CAEI,oCAFJ,CADM,CAKN,SACIC,CADJ,CAEIC,CAFJ,CAGE,CAkCE,MAAO,CACHC,0BAA0B,CA5BG,QAA7BA,CAAAA,0BAA6B,CAASC,CAAT,CAAiB,CAC9CH,CAAM,CAACI,OAAP,CAAeH,CAAmB,CAACI,6BAAnC,CAAkEF,CAAlE,CACH,CAyBM,CAEHG,IAAI,CAtBG,QAAPA,CAAAA,IAAO,EAAW,CAClBN,CAAM,CAACI,OAAP,CAAeH,CAAmB,CAACM,IAAnC,CACH,CAkBM,CAGHC,gBAAgB,CAdG,QAAnBA,CAAAA,gBAAmB,CAASC,CAAT,CAAyB,CAC5CT,CAAM,CAACI,OAAP,CAAeH,CAAmB,CAACS,iBAAnC,CAAsDD,CAAtD,CACH,CASM,CAIHE,YAAY,CARG,QAAfA,CAAAA,YAAe,EAAW,CAC1BX,CAAM,CAACI,OAAP,CAAeH,CAAmB,CAACW,aAAnC,CACH,CAEM,CAMV,CAhDK,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 * Provides some helper functions to trigger actions in the message drawer.\n *\n * @module     core_message/message_drawer_helper\n * @package    message\n * @copyright  2018 Ryan Wyllie <ryan@moodle.com>\n * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later\n */\ndefine(\n[\n    'core/pubsub',\n    'core_message/message_drawer_events'\n],\nfunction(\n    PubSub,\n    MessageDrawerEvents\n) {\n\n    /**\n     * Trigger an event to create a new conversation in the message drawer.\n     *\n     * @param {Number} userId The user id to start a conversation.\n     */\n    var createConversationWithUser = function(userId) {\n        PubSub.publish(MessageDrawerEvents.CREATE_CONVERSATION_WITH_USER, userId);\n    };\n\n    /**\n     * Trigger an event to show the message drawer.\n     */\n    var show = function() {\n        PubSub.publish(MessageDrawerEvents.SHOW);\n    };\n\n    /**\n     * Trigger an event to show the given conversation.\n     *\n     * @param {int} conversationId Id for the conversation to show.\n     */\n    var showConversation = function(conversationId) {\n        PubSub.publish(MessageDrawerEvents.SHOW_CONVERSATION, conversationId);\n    };\n\n    /**\n     * Trigger an event to show messaging settings.\n     */\n    var showSettings = function() {\n        PubSub.publish(MessageDrawerEvents.SHOW_SETTINGS);\n    };\n\n    return {\n        createConversationWithUser: createConversationWithUser,\n        show: show,\n        showConversation: showConversation,\n        showSettings: showSettings\n    };\n});\n"],"file":"message_drawer_helper.min.js"}

Zerion Mini Shell 1.0