!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/gmaps/test/spec/   drwxrwxr-x
Free 13.2 GB of 57.97 GB (22.77%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     OverlaySpec.js (1.69 KB)      -rwxrwxr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
describe("Drawing HTML overlays", function() {
  var map_with_overlays, overlay;

  beforeEach(function() {
    map_with_overlays = map_with_overlays || new GMaps({
      el : '#map-with-overlays',
      lat : -12.0433,
      lng : -77.0283,
      zoom : 12
    });

    overlay = overlay || map_with_overlays.drawOverlay({
      lat: map_with_overlays.getCenter().lat(),
      lng: map_with_overlays.getCenter().lng(),
      layer: 'overlayLayer',
      content: '<div class="overlay">Lima</div>',
      verticalAlign: 'top',
      horizontalAlign: 'center'
    });
  });

  it("should add the overlay to the overlays collection", function() {
    expect(map_with_overlays.overlays.length).toEqual(1);
    expect(map_with_overlays.overlays[0]).toEqual(overlay);
  });

  it("should add the overlay in the current map", function() {
    expect(overlay.getMap()).toEqual(map_with_overlays.map);
  });

  describe("With events", function() {
    var callbacks, overlayWithClick;

    beforeEach(function() {
      callbacks = {
        onclick: function() {
          console.log('Clicked the overlay');
        }
      };

      spyOn(callbacks, 'onclick').and.callThrough();

      overlayWithClick = map_with_overlays.drawOverlay({
        lat: map_with_overlays.getCenter().lat(),
        lng: map_with_overlays.getCenter().lng(),
        content: '<p>Clickable overlay</p>',
        click: callbacks.onclick
      });
    });

    it("should respond to click event", function(done) {
      google.maps.event.addListenerOnce(overlayWithClick, "ready", function() {
        google.maps.event.trigger(overlayWithClick.el, "click");
        expect(callbacks.onclick).toHaveBeenCalled();
        done();
      });
    });
  });
});

:: 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.0049 ]--