File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 7070# ast .node { cursor : pointer; position : relative; }
7171# ast .node : hover : not (: has (.node : hover )) .bracket { color : var (--accent ); }
7272# ast .node : hover : not (: has (.node : hover )) > .line { background : var (--accent ); }
73- # ast .line { position : absolute; left : calc (0.25 ch + 2 px ); top : 1.5em ; bottom : calc (1.1 em + 4 px ); width : 1px ; background : var (--border ); opacity : 0.4 ; pointer-events : none; }
73+ # ast .line { position : absolute; left : calc (0.5 ch ); top : 1.5em ; bottom : calc (1.6 em ); width : 1px ; background : var (--border ); opacity : 0.4 ; pointer-events : none; }
7474# ast .node .collapsed > .args { display : none; }
7575# ast .node .collapsed > .line { display : none; }
7676# ast .node .collapsed > .ellipsis { display : inline; }
@@ -465,7 +465,7 @@ <h1><a href="https://github.com/dy/subscript" class="logo-link" target="_blank"
465465// Multiline example templates for different feature combinations
466466const TEMPLATES = {
467467 full : {
468- code : `// Fibonacci with memoization
468+ code : `// fibonacci
469469function fib(n) {
470470 if (n <= 1) return n;
471471 return fib(n - 1) + fib(n - 2)
@@ -484,7 +484,7 @@ <h1><a href="https://github.com/dy/subscript" class="logo-link" target="_blank"
484484 } ,
485485
486486 justin : {
487- code : `// Functional pipeline
487+ code : `// pipeline
488488items
489489 .filter(x => x.value > threshold)
490490 .map(x => ({
You can’t perform that action at this time.
0 commit comments