fix(interactive): fix syntax error from smart quote and add cache-busting
SUMMARY:
Fixed critical syntax error in interactive-diagram.js caused by smart
quote character and updated cache-busting version.
ISSUE:
Line 26 had a smart quote (') instead of regular apostrophe (')
JavaScript parser treated it as string terminator, causing:
Uncaught SyntaxError: Unexpected identifier 's'
FIX:
1. Changed smart quote to regular text in promise field
2. Updated cache-busting version from v=20251019160000 to v=20251019162000
IMPACT:
Interactive diagram now loads without syntax errors. Users can click
central core and all service nodes to explore governance architecture.
🤖 Generated with Claude Code (https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
bc2a58903f
commit
9ec76b0d2c
2 changed files with 2 additions and 2 deletions
|
|
@ -512,7 +512,7 @@
|
|||
<script src="/js/scroll-animations.js"></script>
|
||||
|
||||
<!-- Interactive Architecture Diagram (Phase 3) -->
|
||||
<script src="/js/components/interactive-diagram.js?v=20251019160000"></script>
|
||||
<script src="/js/components/interactive-diagram.js?v=20251019162000"></script>
|
||||
|
||||
<!-- Footer Component -->
|
||||
<script src="/js/components/footer.js"></script>
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ class InteractiveDiagram {
|
|||
'Metacognitive gates ensure AI pauses before high-risk operations',
|
||||
'Each service addresses a different failure mode in AI safety'
|
||||
],
|
||||
promise: 'External architectural enforcement that's structurally more difficult to bypass than behavioral training alone.'
|
||||
promise: 'External architectural enforcement that is structurally more difficult to bypass than behavioral training alone.'
|
||||
},
|
||||
boundary: {
|
||||
name: 'BoundaryEnforcer',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue