code: function(name, value) {
  		// set up handler to clean up domData when elements are removed
  		// handler only needs to be set up the first time set is called
  		if (elementSetCount === 0) {
  			mutationDocument.onAfterRemovedNodes(cleanupDomData);
  		}
  
  		// increment elementSetCount if this element was not already set
  		elementSetCount += domDataState.get.call(this) ? 0 : 1;
  
  		domDataState.set.call(this, name, value);
  	}
docs: @function can-util/dom/data/data.set domData.set
  @signature `domData.set.call(el, name, value)`
  
  @param {String} name the key to store the value under
  @param {*} value     the value to store under the key
  
  Set data to be associated with a DOM Node using the specified `key`. If data already exists for this key, it will be overwritten.
  
  ```js
  var domData = require("can-util/dom/data/data");
  
  domData.set.call(el, "metadata", {
  foo: "bar"
  });
  ```