!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/queuepro/node_modules/svg.js/spec/spec/   drwxrwxr-x
Free 13.18 GB of 57.97 GB (22.74%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     pattern.js (2.01 KB)      -rwxrwxr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
describe('Pattern', function() {
  var rect, pattern

  beforeEach(function() {
    rect = draw.rect(100,100)
    pattern = draw.pattern(20, 30, function(add) {
      add.rect(10,10).move(10,10)
      add.circle(30)
    })
  })

  afterEach(function() {
    rect.remove()
    pattern.remove()
  })

  it('is an instance of SVG.Pattern', function() {
    expect(pattern instanceof SVG.Pattern).toBe(true)
  })

  it('allows creation of a new gradient without block', function() {
    pattern = draw.pattern(10,30)
    expect(pattern.children().length).toBe(0)
  })

  describe('fill()', function() {
    it('returns the id of the pattern wrapped in url()', function() {
      expect(pattern.fill()).toBe('url(#' + pattern.attr('id') + ')')
    })
  })

  describe('attr()', function() {
    it('will catch transform attribues and convert them to patternTransform', function() {
      expect(pattern.translate(100,100).attr('patternTransform')).toBe('matrix(1,0,0,1,100,100)')
    })
  })

  describe('toString()', function() {
    it('returns the id of the pattern wrapped in url()', function() {
      expect(pattern + '').toBe('url(#' + pattern.attr('id') + ')')
    })
    it('is called when instance is passed as an attribute value', function() {
      rect.attr('fill', pattern)
      expect(rect.attr('fill')).toBe('url(#' + pattern.attr('id') + ')')
    })
    it('is called when instance is passed in a fill() method', function() {
      rect.fill(pattern)
      expect(rect.attr('fill')).toBe('url(#' + pattern.attr('id') + ')')
    })
  })

  describe('update()', function() {

    it('removes all existing children first', function() {
      pattern = draw.pattern(30, 30, function(add) {
        add.rect(10,10).move(10,10)
        add.circle(30)
      })
      expect(pattern.children().length).toBe(2)
      pattern.update(function(add) {
        add.rect(10,10).move(10,10)
        add.circle(30)
      })
      expect(pattern.children().length).toBe(2)
    })

  })

})

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0048 ]--