CryptoAssist/src/blocks/concat.js

26 lines
407 B
JavaScript
Raw Normal View History

2017-02-21 21:28:24 +00:00
module.exports = {
name: "Concat",
inputs: {
2017-03-13 12:41:56 +00:00
str1: {
name: "String 1",
type: "text",
required: true,
inline: false
},
str2: {
name: "String 2",
type: "text",
required: true,
inline: false
}
2017-02-21 21:28:24 +00:00
},
output: true,
execute: function({str1, str2}, block){
return str1 + str2;
},
pageBlock: {
html: "",
js: function(){}
}
}