rem: function(elem){ 
add: forIn(this._behaviors, function(tBehavior, id){ dojo.query(id).forEach( function(elem){ 
context: 				function(elem){					var runFrom = 0;					var bid = "_dj_behavior_"+tBehavior.id;					if(typeof elem[bid] == "number"){						runFrom = elem[bid];						if(runFrom == (tBehavior.length-1)){							return;						}					}					// run through the versions, applying newer rules at each step					for(var x=runFrom, tver; tver = tBehavior[x]; x++){						forIn(tver, function(ruleSet, ruleSetName){							if(dojo.isArray(ruleSet)){								dojo.forEach(ruleSet, function(action){									dojo.behavior.applyToNode(elem, action, ruleSetName);								});							}						});					}					// ensure that re-application only adds new rules to the node					elem[bid] = tBehavior.length-1;				}
meta: 4497	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4497/b873d724c50c73b072de8a24186adef518c80989/behavior.js/clean/behavior.js