1
0
Fork 0
forked from 0x2620/oxjs

remove Ox.each, , $.extend, $.map and $.merge

This commit is contained in:
rolux 2011-09-17 20:36:09 +02:00
commit 4cc754a28d
35 changed files with 104 additions and 131 deletions

View file

@ -67,7 +67,7 @@ Ox.ButtonGroup = function(options, self) {
self.$buttons[pos].toggleSelected();
});
that.triggerEvent('change', {
selected: $.map(self.optionGroup.selected(), function(v, i) {
selected: self.optionGroup.selected().map(function(i) {
return self.options.buttons[v].id;
})
});