Added inline inputs (blocks still need updating)
This commit is contained in:
1 parent
6e439be1e0
commit
537ab5f64e
8 files changed
+75
-31
No files matched your search
@@ -1,8 +1,14 @@
|
||||
module.exports = {
|
||||
name: "Caesar",
|
||||
inputs: {
|
||||
text: "Text",
|
||||
shift: "Shift"
|
||||
text: {
|
||||
name: "Text"
|
||||
},
|
||||
shift: {
|
||||
name: "Shift",
|
||||
inline: true,
|
||||
type: "number"
|
||||
}
|
||||
},
|
||||
output: true,
|
||||
execute: function({text, shift}, elem){
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
module.exports = {
|
||||
name: "Output",
|
||||
inputs: {
|
||||
input: "Input"
|
||||
input: {
|
||||
name: "Input"
|
||||
}
|
||||
},
|
||||
output: false,
|
||||
execute: function({input}, block){
|
||||
|
||||
Reference in new issue
Block a user