Fix indent in JS app

This commit is contained in:
Dmitriy Simushev 2016-06-03 13:34:55 +00:00
parent d5130ed655
commit cb3bd91b76
2 changed files with 6 additions and 7 deletions

View File

@ -461,12 +461,11 @@ MibewAPIExecutionContext.prototype.getArgumentsList = function(functionObject) {
referenceTo = argumentsList[variableName]; referenceTo = argumentsList[variableName];
// Check target value // Check target value
if (typeof this.functionsResults[funcNum - 1][referenceTo] == if (typeof this.functionsResults[funcNum - 1][referenceTo] == "undefined") {
"undefined") { throw new Error(
throw new Error( "Wrong reference in '" + functionObject['function'] +
"Wrong reference in '" + functionObject['function'] + "' function. There is no '" + referenceTo +
"' function. There is no '" + referenceTo + "' argument in #" + funcNum + " function results"
"' argument in #" + funcNum + " function results"
); );
} }

View File

@ -378,7 +378,7 @@ var Mibew = Mibew || {};
var invitationdiv = document.getElementById("mibew-invitation"); var invitationdiv = document.getElementById("mibew-invitation");
if (invitationdiv) { if (invitationdiv) {
invitationdiv.innerHTML = popuptext; invitationdiv.innerHTML = popuptext;
} }
} }