lunr.Vector.prototype.toArray = function()

in miredot/lib/lunr/js/lunr.js [708:716]


lunr.Vector.prototype.toArray = function () {
  var output = new Array (this.elements.length / 2)

  for (var i = 1, j = 0; i < this.elements.length; i += 2, j++) {
    output[j] = this.elements[i]
  }

  return output
}