rem: images[name] = new Image({ name: name, description: description, width: image.width, height: image.height }); 
add: this.name = name; this.description = description; this.width = image.width; this.height = image.height; this.getUrl = function() { return app.properties.staticUrl + "www/" + name; } this.render_macro = Image.prototype.render_macro; this.thumbnail_macro = Image.prototype.thumbnail_macro; return this; } var add = function(name, description) { images[name] = new DefaultImage(name, description); 
context: Images.Default = (function() {   var images = {};   var add = function(name, description) {      var fpath = app.properties.staticPath + "www/" + name;      var image = new helma.Image(fpath);      images[name] = new Image({         name: name,         description: description,         width: image.width,         height: image.height      });      return;   }   add("rss.png", "RSS feed");   add("webloghead.gif", "Antville");   add("bullet.gif", "*");   add("smallanim.gif", "Made with Antville");   add("smallchaos.gif", "Made with Antville");   add("smallstraight.gif", "Made with Antville");   add("smalltrans.gif", "Made with Antville");   add("xmlbutton.gif", "XML version of this page");   add("hop.gif", "Helma Object Publisher");   add("marquee.gif", String.EMPTY);   add("pixel.gif", String.EMPTY);   add("dot.gif", String.EMPTY);   return images;})();
meta: 993	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/993/a63f1725b33f0e4c3d3257a6bd38df96a5406745/Images.js/clean/code/Images/Images.js