dup "src" attr
! use @2x retina images
- dup "@2x.png" tail? [
+ "@2x" over subseq? [
"." split1-last "@2x." glue
] unless
"vocab:definitions/icons/" ?head
[ "/icons/" prepend ] when
+ "vocab:ui/tools/error-list/icons/" ?head
+ [ "/icons2/" prepend ] when
+
"src" set-attr
] [ drop ] if
] deep-each
help-dir <search-action> <secure-only> "search" add-responder
help-dir <static> <secure-only> "content" add-responder
"resource:basis/definitions/icons/" <static> <secure-only> "icons" add-responder ;
+ "resource:basis/ui/tools/error-list/icons/" <static> <secure-only> "icons2" add-responder ;
: run-help-webapp ( -- )
"docs" cache-file <help-webapp>