* AJAX commands used by Editor module.
*/
-(function ($, Drupal) {
+(function($, Drupal) {
/**
* Command to save the contents of an editor-provided modal.
*
*
* @fires event:editor:dialogsave
*/
- Drupal.AjaxCommands.prototype.editorDialogSave = function (ajax, response, status) {
+ Drupal.AjaxCommands.prototype.editorDialogSave = function(
+ ajax,
+ response,
+ status,
+ ) {
$(window).trigger('editor:dialogsave', [response.values]);
};
-}(jQuery, Drupal));
+})(jQuery, Drupal);