code: function (mMap, sPath, oItem) {
  			var aItems = mMap[sPath],
  				iIndex;
  
  			if (aItems) {
  				iIndex = aItems.indexOf(oItem);
  				if (iIndex >= 0) {
  					if (aItems.length === 1) {
  						delete mMap[sPath];
  					} else {
  						aItems.splice(iIndex, 1);
  					}
  				}
  			}
  		}
docs: Removes an item from the given map by path.
  
  @param {object} mMap
  A map from path to a list of items
  @param {string} sPath
  The path
  @param {object} oItem
  The item