remove unused var, fix fixme
This commit is contained in:
parent
70bd7afd67
commit
daa77eec5c
1 changed files with 2 additions and 3 deletions
|
@ -304,8 +304,7 @@ Ox.SplitPanel = function(options, self) {
|
|||
that.size = function(id, size, callback) {
|
||||
// one can pass index instead of id
|
||||
var index = Ox.isNumber(id) ? id : getIndexById(id),
|
||||
element = self.options.elements[index],
|
||||
animate = {};
|
||||
element = self.options.elements[index];
|
||||
if (arguments.length == 1) {
|
||||
return element.element[self.dimensions[0]]() * !that.isCollapsed(index);
|
||||
} else {
|
||||
|
@ -320,7 +319,7 @@ Ox.SplitPanel = function(options, self) {
|
|||
(id) -> <o> The SplitPanel
|
||||
id <s|i> The element's id or index
|
||||
@*/
|
||||
// FIXME: isn't 'toggle' reserved by jQuery?
|
||||
// FIXME: 'toggle' is reserved by jQuery
|
||||
that.toggle = function(id) {
|
||||
// one can pass index instead of id
|
||||
if (self.toggling) {
|
||||
|
|
Loading…
Reference in a new issue