app/js/models/thesaurus.js
//checks if a URI corresponds to any of the Thesauri available in settings
checks if a URI corresponds to any of the Thesauri available in settings
checks if a URI corresponds to any of the Thesauri available in settings
function matchAnyThesaurus(uri){
    for(var i = 0; i< this.thesauri.length; i++){
      var thesaurus = this.thesauri[i];
      if(this.matchPattern(thesaurus.pattern, uri)) return true;
    }
    return false;
  }
function matchAnyThesaurus ( uri ) { for ( var i = 0 ; i < this . thesauri . length ; i ++ ) { var thesaurus = this . thesauri [ i ] ; if ( this . matchPattern ( thesaurus . pattern , uri ) ) return true ; } return false ; }
checks if a URI corresponds to any of the Thesauri available in settings
checks if a URI corresponds to any of the Thesauri available in settings