mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-31 13:43:34 +00:00
Co-authored-by: Brendan Allan <git@brendonovich.dev> Co-authored-by: Brendan Allan <14191578+Brendonovich@users.noreply.github.com>
40 lines
724 B
Diff
40 lines
724 B
Diff
--- a/index.js
|
|
+++ b/index.js
|
|
@@ -2195,6 +2195,17 @@
|
|
sensors,
|
|
modifiers
|
|
}));
|
|
+ }
|
|
+ get plugins() {
|
|
+ return super.plugins;
|
|
+ }
|
|
+ set plugins(plugins) {
|
|
+ super.plugins = [
|
|
+ ScrollListener,
|
|
+ Scroller,
|
|
+ StyleInjector,
|
|
+ ...plugins
|
|
+ ];
|
|
}
|
|
};
|
|
var _element_dec, _handle_dec, _c, _init5, _handle, _element;
|
|
--- a/index.cjs
|
|
+++ b/index.cjs
|
|
@@ -2196,6 +2196,17 @@
|
|
sensors,
|
|
modifiers
|
|
}));
|
|
+ }
|
|
+ get plugins() {
|
|
+ return super.plugins;
|
|
+ }
|
|
+ set plugins(plugins) {
|
|
+ super.plugins = [
|
|
+ ScrollListener,
|
|
+ Scroller,
|
|
+ StyleInjector,
|
|
+ ...plugins
|
|
+ ];
|
|
}
|
|
};
|
|
var _element_dec, _handle_dec, _c, _init5, _handle, _element;
|