it seems that the following code is causing the error:
// request cover
if (!$defined(this.coverRequest)) {
//this.coverRequest = this.requestCover();
} else { // restart request
//this.coverRequest.startTimer();
}
the request call looks like this:
// REQUEST
getStream: function() {
if (this.options.spinner) var spinner = new Spinner
(this.element.getParent(), { message: 'Loading...' });
return new Request.JSON({
method: 'post',
url: this.options.path,
initialDelay: 0,
delay: 15000,
limit: 60000,
noCache: true,
onRequest: function() {
if (this.options.spinner) spinner.show();
}.bind(this),
onSuccess: function(responseJSON, responseText) {
this.element.empty();
if ($chk(responseJSON['current'])) Elements.from(responseJSON
['current']).inject(this.element);
if ($chk(responseJSON['history'])) Elements.from(responseJSON
['history']).inject(this.element);
this.fireEvent('onCallback', this);
}.bind(this),
onComplete: function() {
if (this.options.spinner) spinner.hide();
}.bind(this)
}).startTimer({
'host': this.options.host,
'port': this.options.port,
'cimg': this.options.cover,
'aimg': this.options.altCover,
'size': this.options.size,
'curr': this.options.current,
'type': this.options.type,
'hist': this.options.history ? 'show' : 'hide'
});