
to (for example that) ?



Graphics.printLoadingError = function(url) {
if (this._errorPrinter && !this._errorShowed) {
this._errorPrinter.innerHTML = this._makeErrorHtml('Loading Error', 'Failed to load: ' + url);
var button = document.createElement('button');
button.innerHTML = 'Retry';
button.style.fontSize = '24px';
button.style.color = '#ffffff';
button.style.backgroundColor = '#000000';
button.onmousedown = button.ontouchstart = function(event) {
ResourceHandler.retry();
event.stopPropagation();
};
this._errorPrinter.appendChild(button);
this._loadingCount = -Infinity;
}
};Graphics._makeErrorHtml = function(name, message) {
return ('<font color="yellow"><b>' + name + '</b></font><br>' +
'<font color="white">' + message + '</font><br>');
};
