Skip to content

Commit 55a7104

Browse files
committed
remove executeScript from ADR
1 parent fd49b12 commit 55a7104

File tree

11 files changed

+92
-244
lines changed

11 files changed

+92
-244
lines changed

build/consts.go

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -141,11 +141,6 @@ var Consts = &ConstTemplateData{
141141
Description: "Should a given set of signals merge if they are missing?",
142142
Value: false,
143143
},
144-
{
145-
Name: toolbelt.ToCasedString("executeScriptAutoRemove"),
146-
Description: "Should script element remove itself after execution?",
147-
Value: true,
148-
},
149144
},
150145
DefaultDurations: []*DefaultDuration{
151146
{
@@ -154,13 +149,7 @@ var Consts = &ConstTemplateData{
154149
Duration: 1 * time.Second,
155150
},
156151
},
157-
DefaultStrings: []*DefaultString{
158-
{
159-
Name: toolbelt.ToCasedString("executeScriptAttributes"),
160-
Description: `The default attributes for <script/> element use when executing scripts. It is a set of key-value pairs delimited by a newline \\n character.`,
161-
Value: "type module",
162-
},
163-
},
152+
DefaultStrings: []*DefaultString{},
164153
DatalineLiterals: []toolbelt.CasedString{
165154
// Shared
166155
toolbelt.ToCasedString("selector"),
@@ -173,11 +162,6 @@ var Consts = &ConstTemplateData{
173162
// MergeSignals
174163
toolbelt.ToCasedString("signals"),
175164
toolbelt.ToCasedString("onlyIfMissing"),
176-
177-
// ExecuteScript
178-
toolbelt.ToCasedString("script"),
179-
toolbelt.ToCasedString("attributes"),
180-
toolbelt.ToCasedString("autoRemove"),
181165
},
182166
Enums: []*EnumDefinition{
183167
{
@@ -231,11 +215,6 @@ var Consts = &ConstTemplateData{
231215
Description: "An event for merging signals.",
232216
Value: "datastar-merge-signals",
233217
},
234-
{
235-
Name: toolbelt.ToCasedString("ExecuteScript"),
236-
Description: "An event for executing <script/> elements in the browser.",
237-
Value: "datastar-execute-script",
238-
},
239218
},
240219
},
241220
},

bundles/datastar-aliased.js

Lines changed: 0 additions & 13 deletions
This file was deleted.

bundles/datastar-aliased.js.map

Lines changed: 0 additions & 7 deletions
This file was deleted.

bundles/datastar-core.js

Lines changed: 0 additions & 8 deletions
This file was deleted.

bundles/datastar-core.js.map

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)