rem: function(node, params){        this.node = dojo.byId(node); this.creator = params && params.creator || null; this.defaultCreator = dojo.dnd._defaultCreator(this.node);   this.map = {}; this.current = null;   this.containerState = ""; dojo.addClass(this.node, "dojoDndContainer");   if(!(params && params._skipStartup)){ this.startup(); }   this.events = [ dojo.connect(this.node, "onmouseover", this, "onMouseOver"), dojo.connect(this.node, "onmouseout",  this, "onMouseOut"),  dojo.connect(this.node, "ondragstart",   dojo, "stopEvent"), dojo.connect(this.node, "onselectstart", dojo, "stopEvent") ]; }, 
add: dojo.query("> .dojoDndItem", this.parent).forEach(function(node){ if(!node.id){ node.id = dojo.dnd.getUniqueId(); } var type = node.getAttribute("dndType"), data = node.getAttribute("dndData"); this.setItem(node.id, { data: data ? data : node.innerHTML, type: type ? type.split(/\s*,\s*/) : ["text"] }); }, this); 
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:	//	creator: Function: a creator function, which takes a data item, and returns an object like that:	//		{node: newNode, data: usedData, type: arrayOfStrings}	//	_skipStartup: Boolean: skip startup(), which collects children, for deferred initialization	//		(this is used in the markup mode)	this.node = dojo.byId(node);	this.creator = params && params.creator || null;	this.defaultCreator = dojo.dnd._defaultCreator(this.node);	// class-specific variables	this.map = {};	this.current = null;	// states	this.containerState = "";	dojo.addClass(this.node, "dojoDndContainer");		// mark up children	if(!(params && params._skipStartup)){		this.startup();	}	// 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/4522b0bb856ee25030b05400284d3585cee0f362/container.js/buggy/dnd/container.js