PHP 7.4.33
Preview: response.js Size: 872 B
/home/godevadmin/www/admin/braintree/final/javascript/response.js

$(function(){
  function Response(){
    this.view = $('body');
    this.backButtons = $('.back');
    this.transitionend = 'webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend';

    this.initialize();
  }

  Response.prototype.initialize = function(){
    this.events();
  };

  Response.prototype.events = function(){
    var self = this;

    // this.backButtons.on('click', function(event){
    //   self.backHandler(event);
    // });
  };

  Response.prototype.backHandler = function(event){
    var href = (window.location.origin + $(event.target).attr('href')) || window.location.origin;

    this.view.addClass('out');

    window.setTimeout(function(){
      // window.location = href;
      console.log(href);
    },1000);
    // event.preventDefault();
  };

  var response = new Response();
});

Directory Contents

Dirs: 1 × Files: 2

Name Size Perms Modified Actions
vendor DIR
- drwxrwxr-x 2023-11-07 19:59:46
Edit Download
1.87 KB lrwxrwxr-x 2023-11-07 19:59:46
Edit Download
872 B lrwxrwxr-x 2023-11-07 19:59:46
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).