Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / system / tests / modules / js_webassert_test / js / js_webassert_test.wait_for_ajax_request.js
index 3fa82d98bc9d5e276b6a204fa62dd8f0020a32fa..3413846dbf7df6698ee720572b8143e4f29bd549 100644 (file)
@@ -1,22 +1,14 @@
 /**
- * @file
- *  Testing behavior for JSWebAssertTest.
- */
+* DO NOT EDIT THIS FILE.
+* See the following change record for more information,
+* https://www.drupal.org/node/2815083
+* @preserve
+**/
 
 (function ($, Drupal, drupalSettings) {
-
-  'use strict';
-
-  /**
-   * @type {Drupal~behavior}
-   *
-   * @prop {Drupal~behaviorAttach} attach
-   *   Makes changes in the DOM to be able to test the completion of AJAX in assertWaitOnAjaxRequest.
-   */
   Drupal.behaviors.js_webassert_test_wait_for_ajax_request = {
-    attach: function (context) {
+    attach: function attach(context) {
       $('input[name="test_assert_wait_on_ajax_input"]').val('js_webassert_test');
     }
   };
-
-})(jQuery, Drupal, drupalSettings);
+})(jQuery, Drupal, drupalSettings);
\ No newline at end of file