From 8eb4819d0e81297c2df0961465cc41e2c1f6d7ab Mon Sep 17 00:00:00 2001 From: Jos de Jong Date: Wed, 23 Sep 2020 15:49:44 +0200 Subject: [PATCH] Fix lint error --- src/js/Node.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/js/Node.js b/src/js/Node.js index fe396c2..9ece1b3 100644 --- a/src/js/Node.js +++ b/src/js/Node.js @@ -108,7 +108,8 @@ export class Node { if (typeof editable.field === 'boolean') this.editable.field = editable.field if (typeof editable.value === 'boolean') this.editable.value = editable.value } else { - console.error( 'Invalid return value for function onEditable. ' + + console.error( + 'Invalid return value for function onEditable.', 'Actual value:', editable, '.', 'Either a boolean or object { field: boolean, value: boolean } expected.')