Way to make life easier
Posted: Sunday 02 June 2019 10:44
Hi ALl,
Is there a way where you can assign variable to a IDX in top of CONFIG.js?
Then use the nice name in the script. When a IDX change then you only change 1 place
$dressoir = '782'
blocks[$dressoir] = { width: 3, title: 'Dressoir' };
EDIT: Already find out it will work
Now look for a way to store all the $values into a separate file and import/include that one in CONFIG.js
Is there a way where you can assign variable to a IDX in top of CONFIG.js?
Then use the nice name in the script. When a IDX change then you only change 1 place
$dressoir = '782'
blocks[$dressoir] = { width: 3, title: 'Dressoir' };
EDIT: Already find out it will work
Now look for a way to store all the $values into a separate file and import/include that one in CONFIG.js