Security update for Core, with self-updated composer
[yaffs-website] / web / core / misc / dialog / dialog.jquery-ui.js
index 2526e30953b9d5c7dc2296ab1751ef56c874d8bf..02c1d5b7dede77d3b91d58892248e3e470ac94af 100644 (file)
@@ -1,22 +1,21 @@
 /**
- * @file
- * Adds default classes to buttons for styling purposes.
- */
+* DO NOT EDIT THIS FILE.
+* See the following change record for more information,
+* https://www.drupal.org/node/2815083
+* @preserve
+**/
 
 (function ($) {
-
-  'use strict';
-
   $.widget('ui.dialog', $.ui.dialog, {
     options: {
       buttonClass: 'button',
       buttonPrimaryClass: 'button--primary'
     },
-    _createButtons: function () {
+    _createButtons: function _createButtons() {
       var opts = this.options;
-      var primaryIndex;
-      var $buttons;
-      var index;
+      var primaryIndex = void 0;
+      var $buttons = void 0;
+      var index = void 0;
       var il = opts.buttons.length;
       for (index = 0; index < il; index++) {
         if (opts.buttons[index].primary && opts.buttons[index].primary === true) {
@@ -32,5 +31,4 @@
       }
     }
   });
-
-})(jQuery);
+})(jQuery);
\ No newline at end of file