examples/template_stealjs/funcunit/syn/resources/jquery.event.drop.js
function( event, drag ) {
			var el, drops, selector, sels;
			this.last_active = [];
			for(var i=0; i < this._elements.length; i++){ //for each element
				el = this._elements[i]
				var drops = $.event.findBySelector(el, eventNames)

				for(selector in drops){ //find the selectors
					sels = selector ? jQuery(selector, el) : [el];
					for(var e= 0; e < sels.length; e++){ //for each found element, create a drop point
						jQuery.removeData(sels[e],"offset");
						this.add(sels[e], new this(drops[selector]), event, drag);
					}
				}
			}
			
		}
function( event, drag ) {
			var el, drops, selector, sels;
			this.last_active = [];
			for(var i=0; i < this._elements.length; i++){ //for each element
				el = this._elements[i]
				var drops = $.event.findBySelector(el, eventNames)

				for(selector in drops){ //find the selectors
					sels = selector ? jQuery(selector, el) : [el];
					for(var e= 0; e < sels.length; e++){ //for each found element, create a drop point
						jQuery.removeData(sels[e],"offset");
						this.add(sels[e], new this(drops[selector]), event, drag);
					}
				}
			}
			
		}
function ( event , drag ) { var el , drops , selector , sels ; this . last_active = [ ] ; for ( var i = 0 ; i < this . _elements . length ; i ++ ) { //for each element el = this . _elements [ i ] var drops = $ . event . findBySelector ( el , eventNames ) for ( selector in drops ) { //find the selectors sels = selector ? jQuery ( selector , el ) : [ el ] ; for ( var e = 0 ; e < sels . length ; e ++ ) { //for each found element, create a drop point jQuery . removeData ( sels [ e ] , "offset" ) ; this . add ( sels [ e ] , new this ( drops [ selector ] ) , event , drag ) ; } } } }
Gets all elements that are droppable, adds them
Gets all elements that are droppable adds them