(scheduler2)
| 7441 | }; |
| 7442 | } |
| 7443 | function extend$4(scheduler2) { |
| 7444 | scheduler2.getRootView = function() { |
| 7445 | return { view: { render: function() { |
| 7446 | return { tag: "div", type: 1, attrs: { style: "width:100%;height:100%;" }, hooks: { didInsert: function() { |
| 7447 | scheduler2.setCurrentView(); |
| 7448 | } }, body: [{ el: this.el, type: 1 }] }; |
| 7449 | }, init: function() { |
| 7450 | var container = document.createElement("DIV"); |
| 7451 | container.id = "scheduler_" + scheduler2.uid(); |
| 7452 | container.style.width = "100%"; |
| 7453 | container.style.height = "100%"; |
| 7454 | container.classList.add("dhx_cal_container"); |
| 7455 | container.cmp = "grid"; |
| 7456 | container.innerHTML = '<div class="dhx_cal_navline"><div class="dhx_cal_prev_button"></div><div class="dhx_cal_next_button"></div><div class="dhx_cal_today_button"></div><div class="dhx_cal_date"></div><div class="dhx_cal_tab" data-tab="day"></div><div class="dhx_cal_tab" data-tab="week"></div><div class="dhx_cal_tab" data-tab="month"></div></div><div class="dhx_cal_header"></div><div class="dhx_cal_data"></div>'; |
| 7457 | scheduler2.init(container); |
| 7458 | this.el = container; |
| 7459 | } }, type: 4 }; |
| 7460 | }; |
| 7461 | } |
| 7462 | function extend$3(scheduler2) { |
| 7463 | scheduler2._addThemeClass = function() { |
| 7464 | document.documentElement.setAttribute("data-scheduler-theme", scheduler2.skin); |
no test coverage detected