chore: simplify

This commit is contained in:
cha0s 2019-05-28 20:35:32 -05:00
parent 67e7755247
commit d11c6a6c72

View File

@ -28,20 +28,15 @@ export function hoeJSON() {
}, },
tool: { tool: {
params: { params: {
condition: buildCondition( condition: buildCondition('contains', [
'or', [1, 2, 3, 4],
[ buildInvoke(
buildCondition('contains', [ ['user', 'layer', 'tileAt'],
[1, 2, 3, 4], [
buildInvoke( buildTraversal(['target']),
['user', 'layer', 'tileAt'], ],
[ ),
buildTraversal(['target']), ]),
],
),
]),
],
),
actions: { actions: {
type: 'actions', type: 'actions',
traversals: [ traversals: [