Add carla.appdata.xml file
This commit is contained in:
parent
057a30b4b5
commit
53c695bf13
|
@ -1,486 +1,39 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang='en'>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
<title>Tree - rpms/Carla - src.fedoraproject.org</title>
|
||||
<link rel="shortcut icon" type="image/vnd.microsoft.icon"
|
||||
href="/theme/static/favicon.ico?version=5.13.2"/>
|
||||
<link href="/theme/static/fedora-bootstrap-1.3.0/fedora-bootstrap.min.css?version=5.13.2"
|
||||
type="text/css" rel="stylesheet" />
|
||||
<link href="/theme/static/fonts/fonts.css?version=5.13.2"
|
||||
rel="stylesheet" type="text/css" />
|
||||
<link href="/theme/static/fonts/hack_fonts/css/hack-extended.min.css?version=5.13.2"
|
||||
type="text/css" rel="stylesheet" />
|
||||
<link href="/theme/static/theme.css?version=5.13.2"
|
||||
type="text/css" rel="stylesheet" />
|
||||
<component type="desktop">
|
||||
<id>carla.desktop</id>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>GPLv2+ and BSD and Boost and ISC and MIT and zlib</project_license>
|
||||
<name>Carla</name>
|
||||
<summary>Audio plugin host</summary>
|
||||
|
||||
<link type="text/css" rel="stylesheet" nonce="PhaEIWg6x1PrcPn2GRIAvpXlh" href="/static/vendor/font-awesome/font-awesome.css?version=5.13.2"/>
|
||||
<link type="text/css" rel="stylesheet" nonce="PhaEIWg6x1PrcPn2GRIAvpXlh" href="/static/pagure.css?version=5.13.2"/>
|
||||
<link nonce="PhaEIWg6x1PrcPn2GRIAvpXlh" rel="stylesheet" href="/static/vendor/highlight.js/styles/github.css?version=5.13.2"/>
|
||||
<link nonce="PhaEIWg6x1PrcPn2GRIAvpXlh" rel="stylesheet" href="/static/vendor/highlightjs-line-numbers/highlightjs-line-numbers.min.css?version=5.13.2"/>
|
||||
<style nonce="PhaEIWg6x1PrcPn2GRIAvpXlh">
|
||||
.hljs {
|
||||
background: #fff;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body id="home">
|
||||
|
||||
<!-- start masthead -->
|
||||
<nav class="navbar navbar-light masthead p-0 navbar-expand">
|
||||
<div class="container">
|
||||
<a href="/" class="navbar-brand">
|
||||
<img height=40px src="/theme/static/pagure-logo.png?version=5.13.2"
|
||||
alt="pagure Logo" id="pagureLogo"/>
|
||||
</a>
|
||||
<ul class="navbar-nav ml-auto">
|
||||
|
||||
|
||||
|
||||
<li class="nav-item ml-3">
|
||||
<a class="nav-link font-weight-bold" href="/browse/projects/">
|
||||
Browse
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item dropdown ml-3">
|
||||
<a class="nav-link dropdown-toggle" data-toggle="dropdown"
|
||||
href="#" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
<img class="avatar circle lazyload" src="https://seccdn.libravatar.org/avatar/1c470b5a1df53ee82bd459cdfc2a4ae7fa7fd77cdb2675451fde07ef00c413ff?s=24&d=retro"/>
|
||||
</a>
|
||||
<div class="dropdown-menu dropdown-menu-right">
|
||||
<div class="dropdown-header">
|
||||
<strong>martinkg</strong>
|
||||
</div>
|
||||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item" href="/user/martinkg">My Public Profile</a>
|
||||
<a class="dropdown-item" href="/settings">My Settings</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item" href="/user/martinkg/stars">My Starred Projects</a>
|
||||
<a class="dropdown-item" href="/user/martinkg/issues">My Issues</a>
|
||||
<a class="dropdown-item" href="/user/martinkg/requests">My Pull Requests</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item" href="/logout/?next=https://src.fedoraproject.org/fork/xberry/rpms/Carla/blob/1269fcc573faabe6c46e9b8866e521a24d9cab95/f/carla.appdata.xml">Log Out</a>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
<!-- close masthead-->
|
||||
|
||||
<div class="bodycontent">
|
||||
|
||||
|
||||
<div class="bg-light border border-bottom pt-3">
|
||||
<div class="container">
|
||||
<div class="row mb-3">
|
||||
<div class="col-6">
|
||||
<div class="row">
|
||||
<div class="col-auto pr-0">
|
||||
<h3>
|
||||
<i class="fa fa-code-fork text-muted"></i>
|
||||
</h3>
|
||||
</div>
|
||||
<div class="col-auto pl-2">
|
||||
<h3 class="mb-0">
|
||||
<a href="/user/xberry">xberry</a><span class="mt-1 text-muted"> / </span><a href="/projects/rpms/%2A">rpms</a> / <a href="/fork/xberry/rpms/Carla"><strong>Carla</strong></a>
|
||||
</h3>
|
||||
<span class="text-muted">
|
||||
Forked from
|
||||
<a href="/rpms/Carla">
|
||||
rpms/Carla
|
||||
</a>
|
||||
<span title="2020-04-15 14:44:19 UTC" data-toggle="tooltip">a year ago</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-6 text-right">
|
||||
<div class="btn-group">
|
||||
<div class="btn-group">
|
||||
<a class="btn btn-outline-primary btn-sm dropdown-toggle pointer"
|
||||
data-toggle="dropdown"
|
||||
aria-haspopup="true" aria-expanded="false" id="pr-button">
|
||||
<i class="fa fa-arrow-circle-down fa-fw"></i> Open PR
|
||||
</a>
|
||||
<div class="dropdown-menu dropdown-menu-right pointer" id="PR-dropdown">
|
||||
<span id="pr-dropdown-mainlist">
|
||||
<div class="dropdown-header font-size-1">
|
||||
From <span><i class="fa fa-calendar-o fa-rotate-270 fa-fw"></i><strong>Carla</strong></span>
|
||||
</div>
|
||||
<div class="dropdown-item pr-dropdown-spinner"><i class="fa fa-circle-o-notch fa-spin fa-1x fa-fw"></i></div>
|
||||
</span>
|
||||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item"
|
||||
href="/fork/xberry/rpms/Carla/diff/master..1269fcc573faabe6c46e9b8866e521a24d9cab95">
|
||||
New Pull Request
|
||||
</a>
|
||||
<a class="dropdown-item"
|
||||
href="/fork/xberry/rpms/Carla/diff/remote">
|
||||
New Remote Pull Request
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="btn-group">
|
||||
<form method="POST" name="fork_project" id="fork_project"
|
||||
action="/do_fork/fork/xberry/rpms/Carla">
|
||||
<input id="csrf_token" name="csrf_token" type="hidden" value="ImU1ZmE2ZmFiNWE3ZDMzZjIyYjY5MDg4MjRkMzhhNjdlZGE3OGU1YTUi.E4_KMg.S12ZfRybEIxx-8IgunJsQajgtTk">
|
||||
</form>
|
||||
<button class="btn btn-sm btn-outline-primary fork_project_btn">
|
||||
<i class="fa fa-code-fork fa-fw"></i> Fork</button>
|
||||
</div>
|
||||
<div class="btn-group">
|
||||
<a href="#"
|
||||
class="btn btn-sm dropdown-toggle btn-outline-primary"
|
||||
data-toggle="dropdown" id="watch-button">
|
||||
<i class="fa fa-clone fa-fw"></i>
|
||||
<span>Clone</span>
|
||||
</a>
|
||||
<div class="dropdown-menu dropdown-menu-right">
|
||||
<div class="m-3" id="source-dropdown" class="pointer">
|
||||
<div>
|
||||
<h5><strong>Source Code</strong></h5>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="input-group input-group-sm">
|
||||
<div class="input-group-prepend"><span class="input-group-text">GIT</span></div>
|
||||
<input class="form-control bg-white select-on-focus" type="text" value="https://src.fedoraproject.org/forks/xberry/rpms/Carla.git" readonly>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<ul class="nav nav-tabs nav-small border-bottom-0">
|
||||
<li class="nav-item mr-2 text-dark">
|
||||
<a class="nav-link active" href="/fork/xberry/rpms/Carla">
|
||||
<i class="fa fa-code fa-fw text-muted"></i>
|
||||
<span class="d-none d-md-inline">Source</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="nav-item mr-2 text-dark">
|
||||
<a class="nav-link" href="https://bugzilla.redhat.com/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&classification=Fedora&product=Fedora&product=Fedora EPEL&component=Carla">
|
||||
<i class="fa fa-fw text-muted fa-exclamation-circle"></i>
|
||||
<span class="d-none d-md-inline">Issues </span>
|
||||
<span class="fa fa-external-link"></span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
<li class="nav-item mr-2 text-dark">
|
||||
<a class="nav-link" href="/fork/xberry/rpms/Carla/stats">
|
||||
<i class="fa fa-line-chart fa-fw text-muted"></i>
|
||||
<span class="d-none d-md-inline">Stats</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container pt-5 repo-body-container">
|
||||
<div class="row">
|
||||
<div class="col-2">
|
||||
<nav class="nav nav-tabs nav-sidetabs flex-column">
|
||||
<a class=
|
||||
"nav-link nowrap
|
||||
"
|
||||
href="/fork/xberry/rpms/Carla">
|
||||
<i class="fa fa-home text-muted fa-fw"></i> <span class="d-none d-md-inline">Overview</span>
|
||||
</a>
|
||||
<a class=
|
||||
"nav-link nowrap
|
||||
active"
|
||||
href="/fork/xberry/rpms/Carla/tree/1269fcc573faabe6c46e9b8866e521a24d9cab95">
|
||||
<i class="fa fa-file-code-o text-muted fa-fw"></i> Files
|
||||
</a>
|
||||
<a class=
|
||||
"nav-link nowrap
|
||||
"
|
||||
href="/fork/xberry/rpms/Carla/commits/1269fcc573faabe6c46e9b8866e521a24d9cab95">
|
||||
<i class="fa fa-list-alt text-muted fa-fw" data-glyph="spreadsheet"></i> Commits
|
||||
</a>
|
||||
<a class=
|
||||
"nav-link nowrap
|
||||
"
|
||||
href="/fork/xberry/rpms/Carla/branches?branchname=1269fcc573faabe6c46e9b8866e521a24d9cab95">
|
||||
<i class="fa fa-random text-muted fa-fw"></i> Branches
|
||||
</a>
|
||||
<a class=
|
||||
"nav-link nowrap
|
||||
"
|
||||
href="/fork/xberry/rpms/Carla/forks">
|
||||
<i class="fa fa-code-fork text-muted fa-fw"></i> Forks
|
||||
</a>
|
||||
<a class=
|
||||
"nav-link nowrap
|
||||
"
|
||||
href="/fork/xberry/rpms/Carla/releases">
|
||||
<i class="fa fa-tags text-muted fa-fw"></i> Releases
|
||||
</a>
|
||||
|
||||
|
||||
</nav> </div>
|
||||
<div class="col-10">
|
||||
<div class="row mb-1">
|
||||
<div class="col-sm-6">
|
||||
<h3>
|
||||
Files
|
||||
</h3>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-6">
|
||||
<div class="float-right">
|
||||
<a href="#" class="btn btn-outline-light border-secondary text-dark btn-sm"
|
||||
aria-haspopup="true" aria-expanded="false">
|
||||
Commit: <span class="font-weight-bold">1269fcc573faabe6c46e9b8866e521a24d9cab95</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card mb-3">
|
||||
<div class="card-header">
|
||||
<ol class="breadcrumb p-0 bg-transparent mb-0">
|
||||
<li class="breadcrumb-item">
|
||||
<a href="/fork/xberry/rpms/Carla/tree/1269fcc573faabe6c46e9b8866e521a24d9cab95">
|
||||
<span class="fa fa-random">
|
||||
</span> 1269fcc573faabe6c46e9b8866e521a24d9cab95
|
||||
</a>
|
||||
</li>
|
||||
<li class="active breadcrumb-item">
|
||||
<span class="fa fa-file" data-glyph="">
|
||||
</span> carla.appdata.xml
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
<div class="card-body p-0">
|
||||
<div class="bg-light border text-right pr-2">
|
||||
<form class="btn btn-sm" method="POST" name="fork_project"
|
||||
action="/fork_edit/fork/xberry/rpms/Carla/edit/1269fcc573faabe6c46e9b8866e521a24d9cab95/f/carla.appdata.xml">
|
||||
<button class="btn btn-sm btn-secondary fork_project_btn">
|
||||
Fork and Edit
|
||||
</button>
|
||||
<input id="csrf_token" name="csrf_token" type="hidden" value="ImU1ZmE2ZmFiNWE3ZDMzZjIyYjY5MDg4MjRkMzhhNjdlZGE3OGU1YTUi.E4_KMg.S12ZfRybEIxx-8IgunJsQajgtTk">
|
||||
</form>
|
||||
|
||||
<a class="btn btn-secondary btn-sm" href="/fork/xberry/rpms/Carla/blob/1269fcc573faabe6c46e9b8866e521a24d9cab95/f/carla.appdata.xml" title="View as blob">Blob</a>
|
||||
|
||||
<a class="btn btn-secondary btn-sm" href="/fork/xberry/rpms/Carla/blame/carla.appdata.xml?identifier=1269fcc573faabe6c46e9b8866e521a24d9cab95" title="View git blame">Blame</a>
|
||||
|
||||
<a class="btn btn-secondary btn-sm" href="/fork/xberry/rpms/Carla/history/carla.appdata.xml?identifier=1269fcc573faabe6c46e9b8866e521a24d9cab95" title="View git log for this file">History</a>
|
||||
|
||||
<a class="btn btn-secondary btn-sm" href="/fork/xberry/rpms/Carla/raw/1269fcc573faabe6c46e9b8866e521a24d9cab95/f/carla.appdata.xml" title="View as raw">Raw</a>
|
||||
</div>
|
||||
|
||||
<pre class="syntaxhighlightblock"><code class=""><?xml version="1.0" encoding="UTF-8"?>
|
||||
<component type="desktop">
|
||||
<id>carla.desktop</id>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>GPLv2+ and BSD and Boost and ISC and MIT and zlib</project_license>
|
||||
<name>Carla</name>
|
||||
<summary>Audio plugin host</summary>
|
||||
|
||||
<description>
|
||||
<p>
|
||||
<description>
|
||||
<p>
|
||||
Carla is a fully-featured audio plugin host, with support for many audio drivers
|
||||
and plugin formats. It's open source and licensed under the GNU General Public
|
||||
License, version 2 or later. </p>-- test every suffix of the sf whether its prefix is not a LHS of the rule,
|
||||
<p>Features: </p>
|
||||
<ul>
|
||||
<li>LADSPA, DSSI, LV2 and VST plugin formats</li>
|
||||
<li>SF2/3 and SFZ sound banks</li>
|
||||
<li>Internal audio and midi file player</li>
|
||||
<li>Automation of plugin parameters via MIDI CC</li>
|
||||
<li>Remote control over OSC</li>
|
||||
<li>Rack and Patchbay processing modes, plus Single and Multi-Client if using JACK</li>
|
||||
<li> Native audio drivers (ALSA, DirectSound, CoreAudio, etc) and JACK</li>
|
||||
</ul>
|
||||
<p>In experimental phase / work in progress: </p>
|
||||
<ul>
|
||||
<li>Export any Carla loadable plugin or sound bank as an LV2 plugin</li>
|
||||
<li>Plugin bridge support (such as running 32bit plugins on a 64bit Carla, or Windows plugins on Linux)</li>
|
||||
<li>Run JACK applications as audio plugins</li>
|
||||
<li>Transport controls, sync with JACK Transport or Ableton Link</li>
|
||||
</ul>
|
||||
<p>
|
||||
and plugin formats. It's open source and licensed under the GNU General Public
|
||||
License, version 2 or later. </p>-- test every suffix of the sf whether its prefix is not a LHS of the rule,
|
||||
<p>Features: </p>
|
||||
<ul>
|
||||
<li>LADSPA, DSSI, LV2 and VST plugin formats</li>
|
||||
<li>SF2/3 and SFZ sound banks</li>
|
||||
<li>Internal audio and midi file player</li>
|
||||
<li>Automation of plugin parameters via MIDI CC</li>
|
||||
<li>Remote control over OSC</li>
|
||||
<li>Rack and Patchbay processing modes, plus Single and Multi-Client if using JACK</li>
|
||||
<li> Native audio drivers (ALSA, DirectSound, CoreAudio, etc) and JACK</li>
|
||||
</ul>
|
||||
<p>In experimental phase / work in progress: </p>
|
||||
<ul>
|
||||
<li>Export any Carla loadable plugin or sound bank as an LV2 plugin</li>
|
||||
<li>Plugin bridge support (such as running 32bit plugins on a 64bit Carla, or Windows plugins on Linux)</li>
|
||||
<li>Run JACK applications as audio plugins</li>
|
||||
<li>Transport controls, sync with JACK Transport or Ableton Link</li>
|
||||
</ul>
|
||||
<p>
|
||||
Carla is also available as an LV2 plugin for MacOS and Linux, and VST plugin for
|
||||
Linux.
|
||||
</p>
|
||||
</description>
|
||||
</p>
|
||||
</description>
|
||||
|
||||
<url type="homepage">https://kx.studio/Applications:Carla</url>
|
||||
</component>
|
||||
</code></pre>
|
||||
</div>
|
||||
</div> <!-- end .card-->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer pt-4 text-white">
|
||||
<div class="container">
|
||||
<div class="d-flex align-items-center">
|
||||
<div>
|
||||
<div>Powered by <a href="https://pagure.io/pagure" class="notblue">Pagure</a> 5.13.2</div>
|
||||
<div>
|
||||
<a href="https://docs.pagure.org/pagure/usage/index.html" class="notblue">Documentation</a> •
|
||||
<a href="https://pagure.io/pagure/new_issue" class="notblue">File an Issue</a> •
|
||||
<a href="/about">About this Instance</a> •
|
||||
<a href="/ssh_info" class="notblue">SSH Hostkey/Fingerprint</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="ml-auto text-right">
|
||||
<div>© Red Hat, Inc. and others.</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<script type="text/javascript" nonce="PhaEIWg6x1PrcPn2GRIAvpXlh" src="/static/vendor/jquery/jquery.min.js?version=5.13.2"></script>
|
||||
|
||||
<script src="/static/vendor/bootstrap/bootstrap.bundle.min.js?version=5.13.2"></script>
|
||||
|
||||
<script type="text/javascript" nonce="PhaEIWg6x1PrcPn2GRIAvpXlh">
|
||||
$('[data-toggle="tooltip"]').tooltip({placement : 'bottom'});
|
||||
$(".cancel_btn").click(function() {
|
||||
history.back();
|
||||
});
|
||||
</script>
|
||||
|
||||
<script type="text/javascript" nonce="PhaEIWg6x1PrcPn2GRIAvpXlh" src="/static/vendor/lazyload/lazyload.min.js?version=5.13.2"></script>
|
||||
|
||||
<script type="text/javascript" nonce="PhaEIWg6x1PrcPn2GRIAvpXlh">
|
||||
window.addEventListener("load", function(event) {
|
||||
lazyload();
|
||||
});
|
||||
</script>
|
||||
|
||||
<script type="text/javascript" nonce="PhaEIWg6x1PrcPn2GRIAvpXlh">
|
||||
$("#giturl-toggle").on('click', function(event){
|
||||
event.stopPropagation();
|
||||
$("#giturl-more").toggle();
|
||||
$("#giturl-toggle").hide();
|
||||
})
|
||||
|
||||
$(".fork_project_btn").click(function() {
|
||||
$('#fork_project').submit();
|
||||
});
|
||||
|
||||
$(".select-on-focus").on("focus", function() {
|
||||
$(this).select();
|
||||
});
|
||||
|
||||
|
||||
|
||||
$("#pr-button").one("click",
|
||||
function() {
|
||||
var _pr_url = "/pv/pull-request/ready";
|
||||
|
||||
$("#pr-dropdown-mainlist .pr-dropdown-spinner").hide();
|
||||
|
||||
var data = {
|
||||
repo: "Carla",
|
||||
namespace: "rpms",
|
||||
repouser: "martinkg",
|
||||
csrf_token: "ImU1ZmE2ZmFiNWE3ZDMzZjIyYjY5MDg4MjRkMzhhNjdlZGE3OGU1YTUi.E4_KMg.S12ZfRybEIxx-8IgunJsQajgtTk",
|
||||
};
|
||||
$.post(_pr_url, data, null, dataType='json').done(
|
||||
function(data) {
|
||||
process_task_results(data, generate_branch_list_fork);
|
||||
}).fail(
|
||||
function(data) {
|
||||
var _b = $("#pr-dropdown-forklist");
|
||||
html = '<span class="badge-pill font-size-1">'
|
||||
+ '<span class="fa fa-ban fa-fw"> </span> '
|
||||
+ data.responseJSON.message
|
||||
+ '</span>';
|
||||
_b.append(html);
|
||||
_b.show();
|
||||
$("#pr-dropdown-forklist .pr-dropdown-spinner").hide();
|
||||
})
|
||||
}
|
||||
);
|
||||
|
||||
$('.pr_comment_form').submit(function() {
|
||||
return try_async_comment($(this), null);
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
<script type="text/javascript" nonce="PhaEIWg6x1PrcPn2GRIAvpXlh" src="/static/vendor/highlight.js/highlight.pack.js?version=5.13.2"></script>
|
||||
<script type="text/javascript" nonce="PhaEIWg6x1PrcPn2GRIAvpXlh" src="/static/vendor/highlightjs-line-numbers/highlightjs-line-numbers.min.js?version=5.13.2"></script>
|
||||
<script type="text/javascript" nonce="PhaEIWg6x1PrcPn2GRIAvpXlh" src="/static/vendor/highlight.js/spec.js?version=5.13.2"></script>
|
||||
|
||||
<script type="text/javascript" nonce="PhaEIWg6x1PrcPn2GRIAvpXlh">
|
||||
$(document).ready(function() {
|
||||
$('.fork_project_btn').click($("[name=fork_project]").submit);
|
||||
|
||||
$('pre.syntaxhighlightblock code').each(function(i, block) {
|
||||
hljs.highlightBlock(block);
|
||||
hljs.lineNumbersBlock(block);
|
||||
});
|
||||
|
||||
var cls = "highlighted-line";
|
||||
var lines = location.hash.substr(2).split('-').map(function (x) { return parseInt(x, 10) });
|
||||
if (! isNaN(lines[0]))
|
||||
{
|
||||
for (var i = lines[lines.length - 1]; i >= lines[0]; i--) {
|
||||
$('#_' + i).parent().parent().addClass(cls);
|
||||
}
|
||||
setTimeout(function(){
|
||||
$("#_" + lines[0]).get(0).scrollIntoView({behavior: "instant", block: "start", inline: "nearest"});
|
||||
}, 50);
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<script type="text/javascript" nonce="PhaEIWg6x1PrcPn2GRIAvpXlh">
|
||||
|
||||
function updateHighlight() {
|
||||
var cls = "highlighted-line";
|
||||
$('.' + cls).removeClass(cls)
|
||||
if (location.hash !== '') {
|
||||
var lines = location.hash.substr(2).split('-').map(function (x) { return parseInt(x, 10) });
|
||||
for (var i = lines[lines.length - 1]; i >= lines[0]; i--) {
|
||||
$('[data-line-number=' + i + ']').closest('tr').addClass(cls);
|
||||
}
|
||||
return lines;
|
||||
}
|
||||
return [];
|
||||
}
|
||||
$(window).on('hashchange', updateHighlight);
|
||||
var selected = [];
|
||||
$("[data-line-number]").click(function (ev) {
|
||||
var line = $(this).attr('data-line-number');
|
||||
if (ev.shiftKey) {
|
||||
selected = selected.slice(-1).concat(line);
|
||||
} else {
|
||||
selected = [line];
|
||||
}
|
||||
|
||||
var hash = '_' + selected[0];
|
||||
if (selected.length === 2) {
|
||||
hash = '_' + Math.min(selected[0], selected[1]) + '-' + Math.max(selected[0], selected[1]);
|
||||
}
|
||||
window.location.hash = hash;
|
||||
return false;
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
<url type="homepage">https://kx.studio/Applications:Carla</url>
|
||||
</component>
|
||||
|
|
Loading…
Reference in New Issue