File: gtk4-urlmap.js.in

package info (click to toggle)
webkit2gtk 2.48.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 429,620 kB
  • sloc: cpp: 3,696,936; javascript: 194,444; ansic: 169,997; python: 46,499; asm: 19,276; ruby: 18,528; perl: 16,602; xml: 4,650; yacc: 2,360; sh: 2,098; java: 1,993; lex: 1,327; pascal: 366; makefile: 298
file content (16 lines) | stat: -rw-r--r-- 762 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
const baseURLApiLevelSuffix = (function (uri) {
  const slashPos = uri.lastIndexOf("/");
  const dashPos = uri.lastIndexOf("-", slashPos);
  return uri.substring(dashPos, slashPos + 1);
})(window.location.href);
baseURLs = [
  ["GLib", "https://docs.gtk.org/glib/"],
  ["GObject", "https://docs.gtk.org/gobject/"],
  ["Gio", "https://docs.gtk.org/gio/"],
  ["Gdk", "https://docs.gtk.org/gdk@GTK_API_VERSION@/"],
  ["Gtk", "https://docs.gtk.org/gtk@GTK_API_VERSION@/"],
  ["JavaScriptCore", "../javascriptcoregtk" + baseURLApiLevelSuffix],
  ["Soup", "https://gnome.pages.gitlab.gnome.org/libsoup/libsoup-3.0/"],
  ["WebKit", "../webkitgtk" + baseURLApiLevelSuffix],
  ["WebKitWebProcessExtension", "../webkitgtk-web-process-extension" + baseURLApiLevelSuffix]
]