group vars into block (coding style)

This commit is contained in:
j 2023-10-07 10:22:56 +01:00
parent d71ad7cad6
commit d25fe788ee

View file

@ -31,9 +31,9 @@ Ox.ButtonGroup = function(options, self) {
.options(options || {})
.update({
value: function() {
var values = Ox.makeArray(self.options.value);
var positions = [],
values = Ox.makeArray(self.options.value);
var positions = [];
Ox.forEach(values, function(value) {
var position = Ox.getIndexById(
self.options.buttons, value