Old fixes from desktop

This commit is contained in:
Tim Stallard 2017-08-17 11:17:27 +01:00
parent 2700e6fc6c
commit ee58da5fca
3 changed files with 4 additions and 2 deletions

View File

@ -37,6 +37,7 @@ module.exports = {
}, },
output: true, output: true,
execute: function(inputs, block){ execute: function(inputs, block){
var customFunc;
eval("customFunc = function(inp1, inp2, inp3, inp4, inp5){" + block.properties.code + "}"); eval("customFunc = function(inp1, inp2, inp3, inp4, inp5){" + block.properties.code + "}");
return customFunc(inputs.inp1, inputs.inp2, inputs.inp3, inputs.inp4, inputs.inp5); return customFunc(inputs.inp1, inputs.inp2, inputs.inp3, inputs.inp4, inputs.inp5);
}, },

View File

@ -19,7 +19,7 @@ module.exports = {
.join(","); .join(",");
}, },
pageBlock: { pageBlock: {
html: "", html: "<center>The numbers should be comma separated (eg 1,2,3)</center>",
js: function(){} js: function(){}
} }
} }

View File

@ -82,8 +82,8 @@ body{
.line{ .line{
border-top: 2px solid black; border-top: 2px solid black;
position: absolute; position: absolute;
z-index: 1;
pointer-events: none; pointer-events: none;
z-index: 1;
} }
} }
@ -149,6 +149,7 @@ body{
} }
#help{ #help{
z-index: 2;
position: fixed; position: fixed;
top: 0; top: 0;
left: 0; left: 0;