Runway 1.0.1

This commit is contained in:
Runway committed 2026-10-21 13:49:47 -06:00
1 parent dcf819146b
commit ce217fc952
259 files changed
+22226 -206

No files matched your search

+1 -1
View File
@@ -1,2 +1,2 @@
/* Runway Search plugin: added to every page of a site with search highlighting on. Loads highlight.js only when the address carries the #rw-hl= marker of a search result link, now or after a hashchange. Kept tiny on purpose: it is fetched with every page. */
(function(){function l(){if(window.__rwHl||location.hash.indexOf('rw-hl=')<0)return;window.__rwHl=1;var s=document.createElement('script');s.src='/__plugin/search/static/highlight.js?v=2.3.0';document.head.appendChild(s)}l();addEventListener('hashchange',l)})();
(function(){function l(){if(window.__rwHl||location.hash.indexOf('rw-hl=')<0)return;window.__rwHl=1;var s=document.createElement('script');s.src='/__plugin/search/static/highlight.js?v=2.3.1';document.head.appendChild(s)}l();addEventListener('hashchange',l)})();
+1 -1
View File
@@ -150,7 +150,7 @@
var link = document.createElement('link');
link.id = 'rw-search-highlight-css';
link.rel = 'stylesheet';
link.href = '/__plugin/search/static/highlight.css?v=2.3.0';
link.href = '/__plugin/search/static/highlight.css?v=2.3.1';
// First in <head>, so any ::highlight(rw-search) rule of the site comes later and wins.
document.head.insertBefore(link, document.head.firstChild);
}