rem: Skins.prototype.getOutline = function() { 
add: Skins.prototype.getOutline = function(type) { var key = "outline:" + type; var outline = this.cache[key]; if (outline) { return outline; }  var prototype, skin, subskins, names, skins = []; var options = Skin.getPrototypeOptions();  for each (var option in options) { prototype = option.value; names = []; for (var name in app.skinfiles[prototype]) { if (name === prototype && type !== "custom") { skin = createSkin(app.skinfiles[prototype][name]); subskins = skin.getSubskinNames(); for each (var subskin in subskins) { names.push(subskin); } } else if (name !== prototype && type === "custom") { names.push(name); } } names.sort(); skins.push([prototype, names]); }  res.push(); html.openTag("ul"); for each (var item in skins) { prototype = item[0]; skins = item[1]; if (skins && skins.length > 0) { html.openTag("a", {name: prototype, id: prototype}); html.closeTag("a"); html.openTag("li"); res.write(prototype); html.openTag("ul"); for each (var subskin in skins) { skin = this.getSkin(prototype, subskin) || new Skin(prototype, subskin); skin.renderSkin("Skin#skins"); } html.closeTag("ul"); html.closeTag("li"); } } html.closeTag("ul"); return this.cache[key] = res.pop();  
context: Skins.prototype.getOutline = function() {   var outline = this.cache.outline || []   if (outline.length > 0) {      return outline;   }   var options = Skin.getPrototypeOptions();   var prototype, skin, subskins, names;   for each (var option in options) {      prototype = option.value;      for (var name in app.skinfiles[prototype]) {         if (name !== prototype) {            continue;         }         skin = createSkin(app.skinfiles[prototype][name]);         subskins = skin.getSubskinNames();         names = [];         /*if (skin.hasMainskin()) {            names.push("main");         }*/         for (var i in subskins) {            names.push(subskins[i]);         }         names.sort();         outline.push([prototype, names]);      }   }   this.cache.outline = outline;   return outline; };
meta: 993	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/993/a63f1725b33f0e4c3d3257a6bd38df96a5406745/Skins.js/clean/code/Skins/Skins.js