@@ -331,75 +331,3 @@ describe('gridstack', function() {
331331 } ) ;
332332 } ) ;
333333} ) ;
334-
335- /*
336- GridStack.prototype.minWidth = function(el, val) {
337- el = $(el);
338- el.each(function(index, el) {
339- el = $(el);
340- var node = el.data('_gridstack_node');
341- if (typeof node === 'undefined' || node === null) {
342- return;
343- }
344-
345- if (!isNaN(val)) {
346- node.minWidth = (val || false);
347- el.attr('data-gs-min-width', val);
348- }
349- });
350- return this;
351- };
352-
353-
354- GridStack.prototype.maxHeight = function(el, val) {
355- el = $(el);
356- el.each(function(index, el) {
357- el = $(el);
358- var node = el.data('_gridstack_node');
359- if (typeof node === 'undefined' || node === null) {
360- return;
361- }
362-
363- if (!isNaN(val)) {
364- node.maxHeight = (val || false);
365- el.attr('data-gs-max-height', val);
366- }
367- });
368- return this;
369- };
370-
371- GridStack.prototype.minHeight = function(el, val) {
372- el = $(el);
373- el.each(function(index, el) {
374- el = $(el);
375- var node = el.data('_gridstack_node');
376- if (typeof node === 'undefined' || node === null) {
377- return;
378- }
379-
380- if (!isNaN(val)) {
381- node.minHeight = (val || false);
382- el.attr('data-gs-min-height', val);
383- }
384- });
385- return this;
386- };
387-
388- GridStack.prototype.maxWidth = function(el, val) {
389- el = $(el);
390- el.each(function(index, el) {
391- el = $(el);
392- var node = el.data('_gridstack_node');
393- if (typeof node === 'undefined' || node === null) {
394- return;
395- }
396-
397- if (!isNaN(val)) {
398- node.maxWidth = (val || false);
399- el.attr('data-gs-max-width', val);
400- }
401- });
402- return this;
403- };
404-
405- */
0 commit comments