Skip to content

176 web animation techniques, each a live demo with plain settings and a ready-made prompt for your AI assistant. No dependencies, no build step.

docs: drop the demo-page script's reference to the deleted handbook.js

matinb1c637b5d0fa
diff --git a/assets/js/demo-page.js b/assets/js/demo-page.js
index ad90b87b..f23fb79b 100644
--- a/assets/js/demo-page.js
+++ b/assets/js/demo-page.js
@@ -31,8 +31,7 @@
}
// Only relative paths, "#" anchors and http(s) URLs are link targets. Anything else, including
- // protocol-relative "//host" links, is rendered as plain text instead. handbook.js has an older,
- // looser copy that lets "//host" through; this is the one to keep.
+ // protocol-relative "//host" links, is rendered as plain text instead.
function isSafeHref(href) {
href = String(href);
return /^(?:https?:|#|\.{0,2}\/|[\w.-]+(?:\/|$))/i.test(href) && !/^\/\//.test(href) &&