reyesr / fullproof

javascript fulltext search engine library
http://reyesr.github.com/fullproof/
Apache License 2.0
666 stars 46 forks source link

store undefined in scoring-engine.js #6

Closed terrycojones closed 11 years ago

terrycojones commented 11 years ago

Line 94 of scoring-engine.js has this:

callback(new fullproof.ResultSet(store.caps.getComparatorObject()));

But store does not seem to be defined.

terrycojones commented 11 years ago

Could the fix be

callback(new fullproof.ResultSet(unit.capabilities.comparatorObject));

?

reyesr commented 11 years ago

that's correct! Thanks Terry!