Remove empty lines around braces with the formatting script
This commit is contained in:
parent
66e3060ea1
commit
02161aad5a
221 changed files with 0 additions and 399 deletions
5
misc/dist/html/editor.html
vendored
5
misc/dist/html/editor.html
vendored
|
|
@ -258,7 +258,6 @@
|
|||
}
|
||||
|
||||
function startEditor(zip) {
|
||||
|
||||
const INDETERMINATE_STATUS_STEP_MS = 100;
|
||||
const persistentPaths = ['/home/web_user/.config', '/home/web_user/projects'];
|
||||
|
||||
|
|
@ -296,7 +295,6 @@
|
|||
adjustCanvasDimensions();
|
||||
|
||||
setStatusMode = function setStatusMode(mode) {
|
||||
|
||||
if (statusMode === mode || !initializing)
|
||||
return;
|
||||
[statusProgress, statusIndeterminate, statusNotice].forEach(elem => {
|
||||
|
|
@ -325,7 +323,6 @@
|
|||
}
|
||||
|
||||
function animateStatusIndeterminate(ms) {
|
||||
|
||||
var i = Math.floor(ms / INDETERMINATE_STATUS_STEP_MS % 8);
|
||||
if (statusIndeterminate.children[i].style.borderTopColor == '') {
|
||||
Array.prototype.slice.call(statusIndeterminate.children).forEach(child => {
|
||||
|
|
@ -336,7 +333,6 @@
|
|||
}
|
||||
|
||||
setStatusNotice = function setStatusNotice(text) {
|
||||
|
||||
while (statusNotice.lastChild) {
|
||||
statusNotice.removeChild(statusNotice.lastChild);
|
||||
}
|
||||
|
|
@ -348,7 +344,6 @@
|
|||
};
|
||||
|
||||
engine.setProgressFunc((current, total) => {
|
||||
|
||||
if (total > 0) {
|
||||
statusProgressInner.style.width = current/total * 100 + '%';
|
||||
setStatusMode('progress');
|
||||
|
|
|
|||
4
misc/dist/html/fixed-size.html
vendored
4
misc/dist/html/fixed-size.html
vendored
|
|
@ -229,7 +229,6 @@ $GODOT_HEAD_INCLUDE
|
|||
var engine = new Engine;
|
||||
|
||||
(function() {
|
||||
|
||||
const EXECUTABLE_NAME = '$GODOT_BASENAME';
|
||||
const MAIN_PACK = '$GODOT_BASENAME.pck';
|
||||
const EXTRA_ARGS = JSON.parse('$GODOT_ARGS');
|
||||
|
|
@ -247,7 +246,6 @@ $GODOT_HEAD_INCLUDE
|
|||
var indeterminiateStatusAnimationId = 0;
|
||||
|
||||
function setStatusMode(mode) {
|
||||
|
||||
if (statusMode === mode || !initializing)
|
||||
return;
|
||||
[statusProgress, statusIndeterminate, statusNotice].forEach(elem => {
|
||||
|
|
@ -288,7 +286,6 @@ $GODOT_HEAD_INCLUDE
|
|||
}
|
||||
|
||||
function setStatusNotice(text) {
|
||||
|
||||
while (statusNotice.lastChild) {
|
||||
statusNotice.removeChild(statusNotice.lastChild);
|
||||
}
|
||||
|
|
@ -300,7 +297,6 @@ $GODOT_HEAD_INCLUDE
|
|||
};
|
||||
|
||||
engine.setProgressFunc((current, total) => {
|
||||
|
||||
if (total > 0) {
|
||||
statusProgressInner.style.width = current/total * 100 + '%';
|
||||
setStatusMode('progress');
|
||||
|
|
|
|||
5
misc/dist/html/full-size.html
vendored
5
misc/dist/html/full-size.html
vendored
|
|
@ -142,7 +142,6 @@ $GODOT_HEAD_INCLUDE
|
|||
var setStatusNotice;
|
||||
|
||||
(function() {
|
||||
|
||||
const EXECUTABLE_NAME = '$GODOT_BASENAME';
|
||||
const MAIN_PACK = '$GODOT_BASENAME.pck';
|
||||
const EXTRA_ARGS = JSON.parse('$GODOT_ARGS');
|
||||
|
|
@ -188,7 +187,6 @@ $GODOT_HEAD_INCLUDE
|
|||
}
|
||||
|
||||
setStatusMode = function setStatusMode(mode) {
|
||||
|
||||
if (statusMode === mode || !initializing)
|
||||
return;
|
||||
[statusProgress, statusIndeterminate, statusNotice].forEach(elem => {
|
||||
|
|
@ -217,7 +215,6 @@ $GODOT_HEAD_INCLUDE
|
|||
};
|
||||
|
||||
function animateStatusIndeterminate(ms) {
|
||||
|
||||
var i = Math.floor(ms / INDETERMINATE_STATUS_STEP_MS % 8);
|
||||
if (statusIndeterminate.children[i].style.borderTopColor == '') {
|
||||
Array.prototype.slice.call(statusIndeterminate.children).forEach(child => {
|
||||
|
|
@ -228,7 +225,6 @@ $GODOT_HEAD_INCLUDE
|
|||
}
|
||||
|
||||
setStatusNotice = function setStatusNotice(text) {
|
||||
|
||||
while (statusNotice.lastChild) {
|
||||
statusNotice.removeChild(statusNotice.lastChild);
|
||||
}
|
||||
|
|
@ -240,7 +236,6 @@ $GODOT_HEAD_INCLUDE
|
|||
};
|
||||
|
||||
engine.setProgressFunc((current, total) => {
|
||||
|
||||
if (total > 0) {
|
||||
statusProgressInner.style.width = current/total * 100 + '%';
|
||||
setStatusMode('progress');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue