Skip to content

Instantly share code, notes, and snippets.

@nanlabsweb
Created March 26, 2017 19:05
Show Gist options
  • Save nanlabsweb/e5cbfbd2944aff03e59401399fb08ecc to your computer and use it in GitHub Desktop.
Save nanlabsweb/e5cbfbd2944aff03e59401399fb08ecc to your computer and use it in GitHub Desktop.
var options : {
...
areEqual: customResultsComparator
...
}
function customResultsComparator(currentResult, newResult){
//This method compare current and new results using your criteria and return true or false.
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment