/**
* DO NOT EDIT THIS FILE.
* See the following change record for more information,
* https://www.drupal.org/node/2815083
* @preserve
**/

(function ($, Drupal) {
  Drupal.AjaxCommands.prototype.jsAjaxTestCommand = function (ajax, response) {
    var $domElement = $(response.selector);
    ajax.element_settings.cat = 'catbro';

    var data = {
      element_settings: ajax.element_settings.cat || {},
      elementSettings: ajax.elementSettings.cat || {}
    };

    $domElement.html('<div id="js_ajax_test_form_element">' + JSON.stringify(data) + '</div>');
  };
})(jQuery, Drupal);