File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 4141 this . $element = el ;
4242 this . last_colliders = [ ] ;
4343 this . last_colliders_coords = [ ] ;
44- if ( typeof colliders === 'string' || colliders instanceof jQuery ) {
44+ if ( typeof colliders === 'string' || colliders instanceof $ ) {
4545 this . $colliders = $ ( colliders ,
4646 this . options . colliders_context ) . not ( this . $element ) ;
4747 } else {
Original file line number Diff line number Diff line change 578578 * @return {Class } Returns the instance of the Gridster Class.
579579 */
580580 fn . remove_widget = function ( el , silent , callback ) {
581- var $el = el instanceof jQuery ? el : $ ( el ) ;
581+ var $el = el instanceof $ ? el : $ ( el ) ;
582582 var wgd = $el . coords ( ) . grid ;
583583
584584 // if silent is a function assume it's a callback
23632363 fn . get_cells_occupied = function ( el_grid_data ) {
23642364 var cells = { cols : [ ] , rows : [ ] } ;
23652365 var i ;
2366- if ( arguments [ 1 ] instanceof jQuery ) {
2366+ if ( arguments [ 1 ] instanceof $ ) {
23672367 el_grid_data = arguments [ 1 ] . coords ( ) . grid ;
23682368 }
23692369
24472447
24482448 var cr , max ;
24492449 var action = type + '/' + direction ;
2450- if ( arguments [ 2 ] instanceof jQuery ) {
2450+ if ( arguments [ 2 ] instanceof $ ) {
24512451 var el_grid_data = arguments [ 2 ] . coords ( ) . grid ;
24522452 col = el_grid_data . col ;
24532453 row = el_grid_data . row ;
You can’t perform that action at this time.
0 commit comments