Global pass over the code to remove trailing spaces

This commit is contained in:
Alexander Bock
2022-11-22 21:06:52 +01:00
parent 0fe1cb7c23
commit 44e5b17ec9
576 changed files with 2953 additions and 2949 deletions
+4 -4
View File
@@ -3,7 +3,7 @@ var parseJson = (elementId) => {
return JSON.parse(jsonElement.innerHTML);
};
var urlifyFunction = (options, context) => {
var urlifyFunction = (options, context) => {
var data = context.data;
var identifier = options.replace(/ /g, '');
@@ -48,8 +48,8 @@ var copyTextToClipboard = (text) => {
var sidebarNavigate = (index) => {
var subtreeSelector = "#index" + index + "-subtree";
if ((currentDocumentation == documentation[index])
&& (document.querySelector(subtreeSelector).innerHTML != ""))
if ((currentDocumentation == documentation[index])
&& (document.querySelector(subtreeSelector).innerHTML != ""))
{
var subtreeSelector = "#index" + index + "-subtree";
document.querySelector(subtreeSelector).innerHTML = "";
@@ -89,7 +89,7 @@ var sidebarNavigate = (index) => {
subTreeHTML += "</li>";
}
//find our subtree and fill it with data
//find our subtree and fill it with data
document.querySelector(subtreeSelector).innerHTML = subTreeHTML;
};
+2 -2
View File
@@ -16,10 +16,10 @@
<span class="documentation-function-arguments">
{{#each arguments}}
<span class="arguments-name">{{name}}</span>
<span class="arguments-type">({{type}})</span>
<span class="arguments-type">({{type}})</span>
{{#unless @last}},{{/unless}}
{{/each}}
</span>
</span>
<span class="documentation-key">)</span>
{{#if returnType}}
<span class="documentation-function-return">
+3 -3
View File
@@ -63,7 +63,7 @@
font-style: italic;
}
.documentation-function-arguments,
.documentation-function-arguments,
.documentation-function-return
{
font-size: 0.8em;
@@ -74,7 +74,7 @@
font-style: italic;
}
.documentation-function-arguments > .arguments-type,
.documentation-function-arguments > .arguments-type,
.documentation-function-return
{
color: #aaa;
@@ -229,4 +229,4 @@ body {
position: relative;
margin-right: 0;
}
}
}
+2 -2
View File
@@ -2,7 +2,7 @@ window.onload = function () {
var mainTemplateElement = document.getElementById('mainTemplate');
var mainTemplate = Handlebars.compile(mainTemplateElement.innerHTML);
Handlebars.registerHelper('urlify', function(options, context) {
Handlebars.registerHelper('urlify', function(options, context) {
var data = context.data;
var identifier = options.replace(" ", "-").toLowerCase();
@@ -33,4 +33,4 @@ window.onload = function () {
var contents = mainTemplate(data);
document.body.innerHTML = contents;
}
}
+2 -2
View File
@@ -32,7 +32,7 @@ function scrollToPosition(selector) {
}
function getLevel(element) {
return levels.findIndex(function (levelString, level) {
return levels.findIndex(function (levelString, level) {
var className = 'log-level-' + levelString;
if (element.classList.contains(className)) {
return true;
@@ -223,4 +223,4 @@ window.onload = function () {
trackBottom: scroll > document.body.scrollHeight - 10
});
}
}
}