view templates.swigs/search_data.js @ 6:3021deef1599

Encoding related fixes * chomp encoding string * reformat else (seems someone hacked it in) * debug print encoding * do not use :utf8 binmode ("re-encode") on written file if the input is _already_ UTF-8
author Peter Gervai <grin@grin.hu>
date Thu, 16 Oct 2008 00:02:14 +0200
parents a84c32f131df
children
line wrap: on
line source


sd = new Array(); // search data: array of image objects

// image object constructor
function io(search_string, title, url, thumb_url, width, height,
	    album_title, album_url) {
  this.search_string = search_string;
  this.title = title;
  this.url = url;
  this.thumb_url = thumb_url;
  this.width = width;
  this.height = height;
  this.album_title = album_title;
  this.album_url = album_url;
}