Register component-affinity as JS primitive for runtime SX access
Fixes 4 test-eval.sx failures (component affinity tests). Remaining 24 failures are server-only features (defpage, stream-*) that don't belong in the browser evaluator. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
// =========================================================================
|
||||
|
||||
var NIL = Object.freeze({ _nil: true, toString: function() { return "nil"; } });
|
||||
var SX_VERSION = "2026-03-11T03:51:49Z";
|
||||
var SX_VERSION = "2026-03-11T03:56:09Z";
|
||||
|
||||
function isNil(x) { return x === NIL || x === null || x === undefined; }
|
||||
function isSxTruthy(x) { return x !== false && !isNil(x); }
|
||||
|
||||
Reference in New Issue
Block a user