cdlib/cedilla — pull request #12 by briri (2014-08-12 22:14:16+00:00)
Title: Updated auto-genre detection to make use of the xref config file to tran...

...slate odd genres over to the standard. Also discovered a bug in the consortial.js that was preventing callback from executing when the http call resulted in an error like ECONNREFUSED

Moved the function that uses the cross reference yaml (and the tests) from the translator.js to the helper.js file

consortial.js had no exit path when an http error occurred. Only found this when running tests when consortial service was not running. Not sure why it worked in Travis! Added a callback() to the error handler to fix the issue.

Incoming genre's are now checked against the crossref so that values like 'Dissertations & theses' are converted to 'dissertation'.