Skip to content

Commit 9a9e8ec

Browse files
committed
build js
1 parent d7a4171 commit 9a9e8ec

File tree

3 files changed

+21
-21
lines changed

3 files changed

+21
-21
lines changed

dist/gridstack.js

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* gridstack.js 0.2.5
2+
* gridstack.js 0.2.6-dev
33
* http://troolee.github.io/gridstack.js/
44
* (c) 2014-2016 Pavel Reznikov
55
* gridstack.js may be freely distributed under the MIT license.
@@ -508,7 +508,7 @@
508508
// jscs:enable requireCamelCaseOrUpperCaseIdentifiers
509509

510510
opts.itemClass = opts.itemClass || 'grid-stack-item';
511-
var isNested = this.container.closest('.' + opts.itemClass).size() > 0;
511+
var isNested = this.container.closest('.' + opts.itemClass).length > 0;
512512

513513
this.opts = _.defaults(opts || {}, {
514514
width: parseInt(this.container.attr('data-gs-width')) || 12,
@@ -684,22 +684,22 @@
684684
});
685685
}
686686
trashZone
687-
.on('dropover', function(event, ui) {
688-
var el = $(ui.draggable);
689-
var node = el.data('_gridstack_node');
690-
if (node._grid !== self) {
691-
return;
692-
}
693-
self._setupRemovingTimeout(el);
694-
})
695-
.on('dropout', function(event, ui) {
696-
var el = $(ui.draggable);
697-
var node = el.data('_gridstack_node');
698-
if (node._grid !== self) {
699-
return;
700-
}
701-
self._clearRemovingTimeout(el);
702-
});
687+
.on('dropover', function(event, ui) {
688+
var el = $(ui.draggable);
689+
var node = el.data('_gridstack_node');
690+
if (node._grid !== self) {
691+
return;
692+
}
693+
self._setupRemovingTimeout(el);
694+
})
695+
.on('dropout', function(event, ui) {
696+
var el = $(ui.draggable);
697+
var node = el.data('_gridstack_node');
698+
if (node._grid !== self) {
699+
return;
700+
}
701+
self._clearRemovingTimeout(el);
702+
});
703703
}
704704

705705
if (!self.opts.staticGrid && self.opts.acceptWidgets) {

0 commit comments

Comments
 (0)