test(examples): forbid authored browser javascript
req: examples/005
This commit is contained in:
@@ -711,6 +711,9 @@ what a valid business email is.
|
||||
### req: examples/004
|
||||
004 Canonical examples are compile-tested golden API contracts. Changing generated API shape requires updating the examples deliberately.
|
||||
|
||||
### req: examples/005
|
||||
005 Canonical examples must not contain user-authored browser JavaScript. They may load the shared slhx runtime (`/slhx.js`) and may use declarative `data-slhx-*` attributes; inline `<script>`, `on*=` event handlers, and `javascript:` URLs are forbidden outside opaque leaf-widget examples.
|
||||
|
||||
---
|
||||
|
||||
## milestone
|
||||
|
||||
Reference in New Issue
Block a user