1
0
Fork 0
forked from 0x2620/oxjs

Ox.toArray -> Ox.slice

This commit is contained in:
rolux 2013-12-01 14:57:52 +01:00
commit 031aa4367b
11 changed files with 20 additions and 20 deletions

View file

@ -445,7 +445,7 @@ Ox.Element = function(options, self) {
@*/
that.toggleOption = function() {
var options = {};
Ox.toArray(arguments).forEach(function(key) {
Ox.slice(arguments).forEach(function(key) {
options[key] == !self.options[key];
});
that.options(options);