Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / ckeditor / tests / modules / js / ajax-css.js
index 142b4eea0f4d5738260422f03bb7eb18fd96a39c..bb7ba0fb9a76e57f55c0bbc39f91c5024dfde220 100644 (file)
@@ -1,24 +1,16 @@
 /**
- * @file
- * Contains client-side code for testing CSS delivered to CKEditor via AJAX.
- */
+* DO NOT EDIT THIS FILE.
+* See the following change record for more information,
+* https://www.drupal.org/node/2815083
+* @preserve
+**/
 
 (function (Drupal, ckeditor, editorSettings, $) {
-
-  'use strict';
-
   Drupal.behaviors.ajaxCssForm = {
-
-    attach: function (context) {
-      // Initialize an inline CKEditor on the #edit-inline element if it
-      // isn't editable already.
-      $(context)
-        .find('#edit-inline')
-        .not('[contenteditable]')
-        .each(function () {
-          ckeditor.attachInlineEditor(this, editorSettings.formats.test_format);
-        });
+    attach: function attach(context) {
+      $(context).find('#edit-inline').not('[contenteditable]').each(function () {
+        ckeditor.attachInlineEditor(this, editorSettings.formats.test_format);
+      });
     }
   };
-
-})(Drupal, Drupal.editors.ckeditor, drupalSettings.editor, jQuery);
+})(Drupal, Drupal.editors.ckeditor, drupalSettings.editor, jQuery);
\ No newline at end of file