module("Images");
// $$$ set to test host
-var testHost = 'http://www-mang.archive.org';
+var testHost = 'http://www-testflip.archive.org';
+//var testHost = 'http://www-mang.archive.org';
// Returns locator URL for the given id
function jsLocateURL(identifier, book) {
var img = new Image();
$(img).bind( 'load error', function(eventObj) {
equals(eventObj.type, 'load', 'Load image (' + pageURI + '). Event handler called');
- equals(this.width, 318, 'Image width');
+ equals(this.width, 1272, 'Image width');
start();
})
.attr('src', pageURI);
var img = new Image();
$(img).bind( 'load error', function(eventObj) {
equals(eventObj.type, 'load', 'Load image (' + pageURI + '). Event handler called');
- equals(this.width, 351, 'Image width');
+ equals(this.width, 702, 'Image width');
start();
})
.attr('src', pageURI);