X7ROOT File Manager
Current Path:
/home/cbholdings/pasukulu/blocks/timeline/amd/build
home
/
cbholdings
/
pasukulu
/
blocks
/
timeline
/
amd
/
build
/
📁
..
📄
calendar_events_repository.min.js
(1.81 KB)
📄
calendar_events_repository.min.js.map
(6.67 KB)
📄
event_list.min.js
(7.62 KB)
📄
event_list.min.js.map
(26.87 KB)
📄
main.min.js
(531 B)
📄
main.min.js.map
(1.94 KB)
📄
view.min.js
(1.12 KB)
📄
view.min.js.map
(3.79 KB)
📄
view_courses.min.js
(7.02 KB)
📄
view_courses.min.js.map
(26.59 KB)
📄
view_dates.min.js
(1.42 KB)
📄
view_dates.min.js.map
(4.96 KB)
📄
view_nav.min.js
(3.44 KB)
📄
view_nav.min.js.map
(10.94 KB)
Editing: view_dates.min.js
/** * Manage the timeline dates view for the timeline block. * * @copyright 2018 Ryan Wyllie <ryan@moodle.com> * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ define("block_timeline/view_dates",["jquery","block_timeline/event_list","core/pubsub","core/paged_content_events"],(function($,EventList,PubSub,PagedContentEvents){var SELECTORS_EVENT_LIST_CONTAINER='[data-region="event-list-container"]',SELECTORS_NO_COURSES_EMPTY_MESSAGE='[data-region="no-courses-empty-message"]',load=function(root){if(!root.find(SELECTORS_NO_COURSES_EMPTY_MESSAGE).length){var eventListContainer=root.find(SELECTORS_EVENT_LIST_CONTAINER),namespace=$(eventListContainer).attr("id")+"user_block_timeline"+Math.random();!function(root,namespace){var event=namespace+PagedContentEvents.SET_ITEMS_PER_PAGE_LIMIT;PubSub.subscribe(event,(function(limit){$(root).data("limit",limit)}))}(root,namespace);var config={persistentLimitKey:"block_timeline_user_limit_preference",eventNamespace:namespace};EventList.init(eventListContainer,config)}};return{init:function(root){(root=$(root)).hasClass("active")&&!root.find(SELECTORS_NO_COURSES_EMPTY_MESSAGE).length&&(load(root),root.attr("data-seen",!0))},reset:function(root){root.removeAttr("data-seen"),root.hasClass("active")&&(load(root),root.attr("data-seen",!0))},shown:function(root){root.attr("data-seen")||(load(root),root.attr("data-seen",!0))}}})); //# sourceMappingURL=view_dates.min.js.map
Upload File
Create Folder