context: qx.Proto.retrieveLogEvents = function(count) {  if (count > this._history.length){    count = this._history.length;  }    var indexOfYoungestElementInHistory     = this._history.length == this.getMaxMessages() ? this._nextIndexToStoreTo - 1                                                     : this._history.length - 1;  var startIndex = indexOfYoungestElementInHistory - count + 1;  if (startIndex < 0){    startIndex += this._history.length;  }  var result;  if (startIndex <= indexOfYoungestElementInHistory){    result = this._history.slice(startIndex, indexOfYoungestElementInHistory + 1);  } else {    result = this._history.slice(startIndex, this._history.length).concat(                this._history.slice(0, indexOfYoungestElementInHistory + 1)              );  }  return result;};
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/32797ee18a2c92a797417cb1392f24fa90943b97/RingBufferAppender.js/clean/qooxdoo/frontend/framework/source/class/qx/dev/log/RingBufferAppender.js