cleaned up blank lines

This commit is contained in:
zuzanna-maria 2023-01-10 12:26:01 +01:00
parent 22a898403e
commit ee0dc14ac5
1 changed files with 2 additions and 5 deletions

View File

@ -200,7 +200,6 @@ define([
]; ];
}; };
var editDateOptions = function (cb) { var editDateOptions = function (cb) {
var evOnSave = Util.mkEvent(); var evOnSave = Util.mkEvent();
@ -1145,8 +1144,6 @@ define([
printResults: function () { return; }, printResults: function () { return; },
icon: h('i.cptools.cptools-form-page-break') icon: h('i.cptools.cptools-form-page-break')
}, },
section: { section: {
defaultOpts: { defaultOpts: {
questions: [] questions: []
@ -1663,7 +1660,6 @@ define([
}; };
}, },
printResults: function (answers, uid) { // results text printResults: function (answers, uid) { // results text
var results = []; var results = [];
var empty = 0; var empty = 0;
var tally = {}; var tally = {};
@ -2871,6 +2867,7 @@ define([
var switchMode = h('button.btn.btn-secondary', Messages.form_showIndividual); var switchMode = h('button.btn.btn-secondary', Messages.form_showIndividual);
$controls.hide().append(switchMode); $controls.hide().append(switchMode);
var show = function (answers, header) { var show = function (answers, header) {
var order = getFullOrder(content); var order = getFullOrder(content);
var elements = order.map(function (uid) { var elements = order.map(function (uid) {
@ -2894,7 +2891,6 @@ define([
TYPES[type].icon.cloneNode(), TYPES[type].icon.cloneNode(),
h('span', Messages['form_type_'+type]) h('span', Messages['form_type_'+type])
]), ]),
q, q,
h('div.cp-form-block-content', print), h('div.cp-form-block-content', print),
]); ]);
@ -3633,6 +3629,7 @@ define([
}); });
} }
var getFormCreator = function (uid, inSection) { var getFormCreator = function (uid, inSection) {
if (!APP.isEditor) { return; } if (!APP.isEditor) { return; }
var full = !uid; var full = !uid;