Comments left in. Whoops.

This commit is contained in:
d 2016-02-25 15:49:41 -05:00
parent b9c916554e
commit 51d7a20116

View file

@ -331,75 +331,3 @@ describe('gridstack', function() {
});
});
});
/*
GridStack.prototype.minWidth = function(el, val) {
el = $(el);
el.each(function(index, el) {
el = $(el);
var node = el.data('_gridstack_node');
if (typeof node === 'undefined' || node === null) {
return;
}
if (!isNaN(val)) {
node.minWidth = (val || false);
el.attr('data-gs-min-width', val);
}
});
return this;
};
GridStack.prototype.maxHeight = function(el, val) {
el = $(el);
el.each(function(index, el) {
el = $(el);
var node = el.data('_gridstack_node');
if (typeof node === 'undefined' || node === null) {
return;
}
if (!isNaN(val)) {
node.maxHeight = (val || false);
el.attr('data-gs-max-height', val);
}
});
return this;
};
GridStack.prototype.minHeight = function(el, val) {
el = $(el);
el.each(function(index, el) {
el = $(el);
var node = el.data('_gridstack_node');
if (typeof node === 'undefined' || node === null) {
return;
}
if (!isNaN(val)) {
node.minHeight = (val || false);
el.attr('data-gs-min-height', val);
}
});
return this;
};
GridStack.prototype.maxWidth = function(el, val) {
el = $(el);
el.each(function(index, el) {
el = $(el);
var node = el.data('_gridstack_node');
if (typeof node === 'undefined' || node === null) {
return;
}
if (!isNaN(val)) {
node.maxWidth = (val || false);
el.attr('data-gs-max-width', val);
}
});
return this;
};
*/