2 * DO NOT EDIT THIS FILE.
3 * See the following change record for more information,
4 * https://www.drupal.org/node/2815083
8 (function ($, Drupal) {
9 Drupal.AjaxCommands.prototype.jsAjaxTestCommand = function (ajax, response) {
10 var $domElement = $(response.selector);
11 ajax.element_settings.cat = 'catbro';
14 element_settings: ajax.element_settings.cat || {},
15 elementSettings: ajax.elementSettings.cat || {}
18 $domElement.html('<div id="js_ajax_test_form_element">' + JSON.stringify(data) + '</div>');