update dist

This commit is contained in:
Pavel Reznikov 2016-02-25 22:02:01 -08:00
commit 948b65d743
3 changed files with 4 additions and 4 deletions

4
dist/gridstack.js vendored
View file

@ -1360,7 +1360,7 @@
GridStack.prototype.cellWidth = function() {
var o = this.container.children('.' + this.opts.itemClass).first();
return Math.ceil(o.outerWidth() / o.attr('data-gs-width'));
return Math.ceil(o.outerWidth() / parseInt(o.attr('data-gs-width'), 10));
};
GridStack.prototype.getCellFromPixel = function(position, useOffset) {
@ -1466,7 +1466,7 @@
GridStack.prototype._update_container_height = obsolete(GridStack.prototype._updateContainerHeight,
'_update_container_height', '_updateContainerHeight');
GridStack.prototype._is_one_column_mode = obsolete(GridStack.prototype._isOneColumnMode,
'_is_one_column_mode',' _isOneColumnMode');
'_is_one_column_mode','_isOneColumnMode');
GridStack.prototype._prepare_element = obsolete(GridStack.prototype._prepareElement,
'_prepare_element', '_prepareElement');
GridStack.prototype.set_animation = obsolete(GridStack.prototype.setAnimation,

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long