rem:  if(!/(^|\s+)dojoDndContainer(\s+|$)/.test(this.node.className)){ this.node.className += " dojoDndContainer"; } 
add: dojo.addClass(this.node, "dojoDndContainer"); 
context: function(node, params){	// summary: a constructor of the Container	// node: Node: node or node's id to build the container on	// params: Object: a dict of parameters, recognized parameters are:	//	filter: Function: a filter function, which is used to filter out children of the container	//	creator: Function: a creator function, which takes a data item, and returns an object like that:	//		{node: newNode, data: usedData, types: arrayOfStrings}	//	selector: Function: a selector function, which selects all relevant nodes of a container; 	//		should be used in pair with the filter function; returns an object like that:	//		{parent: parentNode, nodes: arrayOf childNodes}	this.node = dojo.byId(node);	var me = this;	this.nodeFilter = (params && params.filter) ?		params.filter :		function(n){ return n.parentNode == me.parent && n.nodeType == 1; };	this.nodeCreator  = (params && params.creator) ?		params.creator :		dojo.dnd._defaultCreator(this.node);	this.nodeSelector = (params && params.selector) ?		params.selector :		dojo.dnd._defaultSelector;	// class-specific variables	this.map = {};	this.current = null;	// states	this.containerState = "";	//dojo.html.addClass(this.node, "dojoDndContainer");	if(!/(^|\s+)dojoDndContainer(\s+|$)/.test(this.node.className)){		this.node.className += " dojoDndContainer";	}		// mark up children	var c = this.nodeSelector(this.node);	this.parent = c.parent;	c = c.nodes;	for(var i = 0; i < c.length; ++i){		var n = c[i];		if(this.nodeFilter(n) && !n.id){			n.id = dojo.dnd.getUniqueId();		}	}	// set up events	this.events = [		dojo.connect(this.node, "onmouseover", this, "onMouseOver"),		dojo.connect(this.node, "onmouseout",  this, "onMouseOut"),		// cancel text selection and text dragging		dojo.connect(this.node, "ondragstart",   dojo, "stopEvent"),		dojo.connect(this.node, "onselectstart", dojo, "stopEvent")	];},
meta: 4497	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4497/5ead1799efeb26da424b23141e8b28467b5bc6f0/container.js/clean/dnd/container.js