Maybe its to much and not possible but maybe the way of coding can be different:
Now we have this
Code: Select all
blocks[43] = {} // RPI USB USAGE
blocks[43]['width'] = 3;
blocks[43]['title'] = 'RPi CPU';
blocks[43]['image'] = 'pi3.png';
blocks[43]['switch'] = true;
// RPI USB USAGE
Code: Select all
blocks[43] = {} : ['width'] = 3 : ['title'] = 'RPi CPU' : ['image'] = 'pi3.png' : ['switch'] = true;
or
Code: Select all
blocks[43] = {
['width'] = 3;
['title'] = 'RPi CPU';
['image'] = 'pi3.png';
['switch'] = true
};