[pve-devel] RFC: use declarative style in ExtJS components
e.kasper at proxmox.com
Thu Nov 19 14:23:41 CET 2015
I have noticed that we could save a bit of boilerplate code in many
places in the gui, when using the so called "declarative" style
Basically this involves moving non-dynamic properties (here PVE.Utils.kvm_keymap_array() will always return the same array) to the class body.
Any objection to this style of code ?
The patch is against the ExtJS4 codebase, works, but not meant to be applied.
More information about the pve-devel