1/** 2* DO NOT EDIT THIS FILE. 3* See the following change record for more information, 4* https://www.drupal.org/node/2815083 5* @preserve 6**/ 7 8(function ($, once) { 9 var deprecatedMessageSuffix = "is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256"; 10 var originalJQOnce = $.fn.once; 11 var originalJQRemoveOnce = $.fn.removeOnce; 12 13 $.fn.once = function jQueryOnce(id) { 14 Drupal.deprecationError({ 15 message: "jQuery.once() ".concat(deprecatedMessageSuffix) 16 }); 17 return originalJQOnce.apply(this, [id]); 18 }; 19 20 $.fn.removeOnce = function jQueryRemoveOnce(id) { 21 Drupal.deprecationError({ 22 message: "jQuery.removeOnce() ".concat(deprecatedMessageSuffix) 23 }); 24 return originalJQRemoveOnce.apply(this, [id]); 25 }; 26 27 var drupalOnce = once; 28 29 function augmentedOnce(id, selector, context) { 30 originalJQOnce.apply($(selector, context), [id]); 31 return drupalOnce(id, selector, context); 32 } 33 34 function remove(id, selector, context) { 35 originalJQRemoveOnce.apply($(selector, context), [id]); 36 return drupalOnce.remove(id, selector, context); 37 } 38 39 window.once = Object.assign(augmentedOnce, drupalOnce, { 40 remove: remove 41 }); 42})(jQuery, once);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.