From cb3bd91b763b3deb80e9ee8f2fbe880c96de0c06 Mon Sep 17 00:00:00 2001 From: Dmitriy Simushev Date: Fri, 3 Jun 2016 13:34:55 +0000 Subject: [PATCH] Fix indent in JS app --- src/mibew/js/source/mibewapi.js | 11 +++++------ src/mibew/js/source/widget.js | 2 +- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/mibew/js/source/mibewapi.js b/src/mibew/js/source/mibewapi.js index 9ddf7cb2..103959de 100644 --- a/src/mibew/js/source/mibewapi.js +++ b/src/mibew/js/source/mibewapi.js @@ -461,12 +461,11 @@ MibewAPIExecutionContext.prototype.getArgumentsList = function(functionObject) { referenceTo = argumentsList[variableName]; // Check target value - if (typeof this.functionsResults[funcNum - 1][referenceTo] == - "undefined") { - throw new Error( - "Wrong reference in '" + functionObject['function'] + - "' function. There is no '" + referenceTo + - "' argument in #" + funcNum + " function results" + if (typeof this.functionsResults[funcNum - 1][referenceTo] == "undefined") { + throw new Error( + "Wrong reference in '" + functionObject['function'] + + "' function. There is no '" + referenceTo + + "' argument in #" + funcNum + " function results" ); } diff --git a/src/mibew/js/source/widget.js b/src/mibew/js/source/widget.js index 7583b8d0..b3768a14 100644 --- a/src/mibew/js/source/widget.js +++ b/src/mibew/js/source/widget.js @@ -378,7 +378,7 @@ var Mibew = Mibew || {}; var invitationdiv = document.getElementById("mibew-invitation"); if (invitationdiv) { - invitationdiv.innerHTML = popuptext; + invitationdiv.innerHTML = popuptext; } }