From 5111215444d1d85ebf584f174ab88362a5433918 Mon Sep 17 00:00:00 2001 From: Johannes Hoermann <j.hoermann@adito.de> Date: Fri, 30 Nov 2018 14:30:44 +0100 Subject: [PATCH] update lib documentation --- others/guide/staticLibExample.adoc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/others/guide/staticLibExample.adoc b/others/guide/staticLibExample.adoc index 88d7ad1e4be..e98a7822630 100644 --- a/others/guide/staticLibExample.adoc +++ b/others/guide/staticLibExample.adoc @@ -25,8 +25,7 @@ function ExampleUtils() {} // leave this function empty! A constructor is not ne * * @return {String} a result */ -ExampleUtils.staticFunction1 = function(param1, param2) -{ +ExampleUtils.staticFunction1 = function(param1, param2) { return this._privateStaticFunction1(param1, param2, "-") } @@ -41,8 +40,7 @@ ExampleUtils.staticFunction1 = function(param1, param2) * * @return {String} a result */ -ExampleUtils._privateStaticFunction1 = function(param1, param2, param3) -{ +ExampleUtils._privateStaticFunction1 = function(param1, param2, param3) { if(param1 && param2) { ... return param1 + param3 + param2; -- GitLab