rem: var tags = input ? input.split(/\s*,\s*/) : []; 
context: Story.prototype.setTags = function(input) {   var diff = {};   var tags = input ? input.split(/\s*,\s*/) : [];   this.tags.forEach(function() {      diff[this.tag.name] = (tags.indexOf(this.tag.name) < 0) ? this : 0;   });   for each (var tag in tags) {      if (tag && diff[tag] == null) {         diff[tag] = 1;      }   }   for (var tag in diff) {      switch (diff[tag]) {         case 0:         // Do nothing (tag already exists)         break;         case 1:         // Add tag to story         res.debug("Add " + tag);         res.debug(this.tags.size());         this.tags.add(new TagHub(tag, this, session.user));         break;         default:         res.debug("Remove " + diff[tag]);         // Remove tag from site if necessary         var parent = diff[tag]._parent;         if (parent.size() === 1) {            res.debug("Remove " + parent);            parent.remove();         }         // Remove tag from story         diff[tag].remove();      }   }   return;};
meta: 993	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/993/7d44d4560c4a068c7ba299eb438b71bcd128ffa3/Story.js/buggy/code/Story/Story.js