@dnd-kit%2Fdom@0.5.0.patch 724 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. --- a/index.js
  2. +++ b/index.js
  3. @@ -2195,6 +2195,17 @@
  4. sensors,
  5. modifiers
  6. }));
  7. + }
  8. + get plugins() {
  9. + return super.plugins;
  10. + }
  11. + set plugins(plugins) {
  12. + super.plugins = [
  13. + ScrollListener,
  14. + Scroller,
  15. + StyleInjector,
  16. + ...plugins
  17. + ];
  18. }
  19. };
  20. var _element_dec, _handle_dec, _c, _init5, _handle, _element;
  21. --- a/index.cjs
  22. +++ b/index.cjs
  23. @@ -2196,6 +2196,17 @@
  24. sensors,
  25. modifiers
  26. }));
  27. + }
  28. + get plugins() {
  29. + return super.plugins;
  30. + }
  31. + set plugins(plugins) {
  32. + super.plugins = [
  33. + ScrollListener,
  34. + Scroller,
  35. + StyleInjector,
  36. + ...plugins
  37. + ];
  38. }
  39. };
  40. var _element_dec, _handle_dec, _c, _init5, _handle, _element;