|
|
|
@ -19,11 +19,7 @@ |
|
|
|
const capitalise = s => s.substring(0, 1).toUpperCase() + s.substring(1) |
|
|
|
const get_name = s => (!s ? "" : last(s.split("/"))) |
|
|
|
|
|
|
|
const get_capitalised_name = name => |
|
|
|
pipe( |
|
|
|
name, |
|
|
|
[get_name, capitalise] |
|
|
|
) |
|
|
|
const get_capitalised_name = name => pipe(name, [get_name, capitalise]) |
|
|
|
const isScreenslot = name => name === "##builtin/screenslot" |
|
|
|
|
|
|
|
const selectComponent = component => { |
|
|
|
|