Skip to content

Commit

Permalink
make modifiers spec compliant
Browse files Browse the repository at this point in the history
Fixes #345
  • Loading branch information
delaneyj committed Dec 10, 2024
2 parents ffb5d09 + c538941 commit 8be40a4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions bundles/datastar.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion library/src/bundles/datastar.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Datastar } from "../engine";
import { ServerSentEvents as SSE } from "../plugins/official/backend/actions/sse";
import { SSE } from "../plugins/official/backend/actions/sse";
import { Indicator } from "../plugins/official/backend/attributes/indicator";
import { ExecuteScript } from "../plugins/official/backend/watchers/executeScript";
import { MergeFragments } from "../plugins/official/backend/watchers/mergeFragments";
Expand Down
2 changes: 1 addition & 1 deletion library/src/plugins/official/backend/actions/sse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export type SSEArgs = {
abort?: AbortSignal;
};

export const ServerSentEvents: ActionPlugin = {
export const SSE: ActionPlugin = {
type: PluginType.Action,
name: "sse",
fn: async (
Expand Down

0 comments on commit 8be40a4

Please sign in to comment.