rem: switch (fmt) { 
add: switch (mode) { 
context: Story.prototype.getRenderedContentPart = function(name, fmt) {   var part = this.metadata.get(name);   if (!part)      return "";   var key = fmt ? name + ":" + fmt : name;   var lastRendered = this.cache["lastRendered_" + key];   if (!lastRendered) {       // FIXME: || lastRendered.getTime() < this.metadata.getLastModified().getTime())      switch (fmt) {         case "plaintext":            part = stripTags(part).clipURLs(30);            break;         case "alttext":            part = stripTags(part);            part = part.replace(/\"/g, "&quot;");            part = part.replace(/\'/g, "&#39;");            break;         default:            var s = createSkin(format(part));            this.allowTextMacros(s);            // enable caching; some macros (eg. poll, storylist)            // will set this to false to prevent caching of a contentpart            // containing them            req.data.cachePart = true;            // The following is necessary so that global macros know where they belong to.            // Even if they are embeded at some other site.            var tmpSite;            if (this.site != res.handlers.site) {               tmpSite = res.handlers.site;               res.handlers.site = this.site;            }            part = this.renderSkinAsString(s).activateURLs(50);            if (tmpSite)               res.handlers.site = tmpSite;      }      this.cache[key] = part;      if (req.data.cachePart)         this.cache["lastRendered_" + key] = new Date();   }      return this.cache[key];};
meta: 993	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/993/4b8d6a823bd5d00f71cf836f5f540553b9fdd13f/Story.js/buggy/code/Story/Story.js