Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / misc / batch.es6.js
index 995d1c51d12435aa9874a73f51cdfda673f79a24..9c8caac76324972a2de870cd6385dff313d2c800 100644 (file)
@@ -3,7 +3,7 @@
  * Drupal's batch API.
  */
 
-(function ($, Drupal) {
+(function($, Drupal) {
   /**
    * Attaches the batch behavior to progress bars.
    *
       }
 
       if ($progress.length) {
-        progressBar = new Drupal.ProgressBar('updateprogress', updateCallback, 'POST', errorCallback);
+        progressBar = new Drupal.ProgressBar(
+          'updateprogress',
+          updateCallback,
+          'POST',
+          errorCallback,
+        );
         progressBar.setProgress(-1, batch.initMessage);
         progressBar.startMonitoring(`${batch.uri}&op=do`, 10);
         // Remove HTML from no-js progress bar.
@@ -39,4 +44,4 @@
       }
     },
   };
-}(jQuery, Drupal));
+})(jQuery, Drupal);