Mercurial > bins
annotate 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 |
rev | line source |
---|---|
0 | 1 |
2 sd = new Array(); // search data: array of image objects | |
3 | |
4 // image object constructor | |
5 function io(search_string, title, url, thumb_url, width, height, | |
6 album_title, album_url) { | |
7 this.search_string = search_string; | |
8 this.title = title; | |
9 this.url = url; | |
10 this.thumb_url = thumb_url; | |
11 this.width = width; | |
12 this.height = height; | |
13 this.album_title = album_title; | |
14 this.album_url = album_url; | |
15 } | |
16 |