Skip to content

Commit 1348ea8

Browse files
committed
Remove newlines in functions frontend
1 parent 4f165f3 commit 1348ea8

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

services/static-webserver/client/source/class/osparc/study/CreateFunction.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ qx.Class.define("osparc.study.CreateFunction", {
2222
/**
2323
* @param studyData {Object} Object containing part or the entire serialized Study Data
2424
*/
25-
construct: function (studyData) {
25+
construct: function(studyData) {
2626
this.base(arguments);
2727

2828
this._setLayout(new qx.ui.layout.VBox(20));
@@ -33,7 +33,7 @@ qx.Class.define("osparc.study.CreateFunction", {
3333
},
3434

3535
statics: {
36-
typeToFunctionType: function (type) {
36+
typeToFunctionType: function(type) {
3737
switch (type) {
3838
case "number":
3939
return "float"
@@ -43,7 +43,7 @@ qx.Class.define("osparc.study.CreateFunction", {
4343
return type;
4444
},
4545

46-
createFunctionData: function (projectData, name, description, exposedInputs, exposedOutputs) {
46+
createFunctionData: function(projectData, name, description, exposedInputs, exposedOutputs) {
4747
const functionData = {
4848
"projectId": projectData["uuid"],
4949
"name": name,
@@ -104,7 +104,7 @@ qx.Class.define("osparc.study.CreateFunction", {
104104
__form: null,
105105
__createFunctionBtn: null,
106106

107-
__buildLayout: function () {
107+
__buildLayout: function() {
108108
const form = this.__form = new qx.ui.form.Form();
109109
this._add(new qx.ui.form.renderer.Single(form));
110110

@@ -283,7 +283,7 @@ qx.Class.define("osparc.study.CreateFunction", {
283283
}, this);
284284
},
285285

286-
__createFunction: function (exposedInputs, exposedOutputs) {
286+
__createFunction: function(exposedInputs, exposedOutputs) {
287287
this.__createFunctionBtn.setFetching(true);
288288

289289
// first publish it as a template
@@ -311,7 +311,7 @@ qx.Class.define("osparc.study.CreateFunction", {
311311
});
312312
},
313313

314-
__doCreateFunction: function (templateData, exposedInputs, exposedOutputs) {
314+
__doCreateFunction: function(templateData, exposedInputs, exposedOutputs) {
315315
const nameField = this.__form.getItem("name");
316316
const descriptionField = this.__form.getItem("description");
317317

@@ -327,7 +327,7 @@ qx.Class.define("osparc.study.CreateFunction", {
327327
.finally(() => this.__createFunctionBtn.setFetching(false));
328328
},
329329

330-
getCreateFunctionButton: function () {
330+
getCreateFunctionButton: function() {
331331
return this.__createFunctionBtn;
332332
}
333333
}

0 commit comments

Comments
 (0)