You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2018/08/15 15:02:03 UTC

[myfaces-tobago] 01/02: TOBAGO-1908: LabelLayout attributes gridLeft, gridRight, gridTop and gridBottom * repair (undo) constructor of TobagoTestTool

This is an automated email from the ASF dual-hosted git repository.

lofwyr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git

commit 4893b6822a118b145fb737bdd7e2ac20db7213bb
Author: Udo Schnurpfeil <lo...@apache.org>
AuthorDate: Wed Aug 15 13:10:31 2018 +0200

    TOBAGO-1908: LabelLayout attributes gridLeft, gridRight, gridTop and gridBottom
    * repair (undo) constructor of TobagoTestTool
---
 .../META-INF/resources/tobago/test/tobago-test-tool.js         | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/tobago-tool/tobago-tool-test/src/main/resources/META-INF/resources/tobago/test/tobago-test-tool.js b/tobago-tool/tobago-tool-test/src/main/resources/META-INF/resources/tobago/test/tobago-test-tool.js
index 2ea854e..19aa6d5 100644
--- a/tobago-tool/tobago-tool-test/src/main/resources/META-INF/resources/tobago/test/tobago-test-tool.js
+++ b/tobago-tool/tobago-tool-test/src/main/resources/META-INF/resources/tobago/test/tobago-test-tool.js
@@ -15,7 +15,10 @@
  * limitations under the License.
  */
 
-TobagoTestTool = {};
+function TobagoTestTool(assert) {
+  this.assert = assert;
+  this.steps = [];
+}
 
 TobagoTestTool.stepType = {
   ACTION: 1,
@@ -61,11 +64,6 @@ TobagoTestTool.convertGridCss = function (end) {
   }
 };
 
-function TobagoTestTool(assert) {
-  this.assert = assert;
-  this.steps = [];
-}
-
 TobagoTestTool.prototype = {
   action: function (func) {
     this.steps.push({