js/jquery.event.drag-2.3.0.js
function( arr ){
                return $.map( arr, function( member ){
                    return member && member.jquery ? $.makeArray( member ) :
                        member && member.length ? drag.flatten( member ) : member;
                });
            }
function( arr ){
                return $.map( arr, function( member ){
                    return member && member.jquery ? $.makeArray( member ) :
                        member && member.length ? drag.flatten( member ) : member;
                });
            }
function ( arr ) { return $ . map ( arr , function ( member ) { return member && member . jquery ? $ . makeArray ( member ) : member && member . length ? drag . flatten ( member ) : member ; } ) ; }
flatten nested jquery objects and arrays into a single dimension array
flatten nested jquery objects and arrays into a single dimension array