* Add new test suite test/data-quality-tests.js
* Make ParseBook exported so I can use it to get data for each book
This is suboptimal since really the data should be in a look up table
somewhere but I don't want to tackle that in this change.
* Actually load the json data for each book and test that number
of chapters exists.
We use nodes require so we have to follow nodes module conventions for test
suites.
* As a result we need to inject the requirejs loader as well as the exports
object.
* Also we need to move the requirejs setup logic into it's own module
for reuse.
* The test modules add tests to the exports object for our test runner.
* Add package.json to tell npm what dependencies we need.
* Use npm's test package for the assertions
* Add a test/all.js as our test suite entrypoint.
* Port biblerefparsing tests over to the new unit test framework.
* It uses an indexedb datastore.
* Fix the api of the indexeddb wrapper now that I have some real world usage
examples.
* Implemented API Calls:
* UpdateTags
* GetTags
* Exposed but unimplemented API Calls:
* GetVersesForTag
* Sync
* Add a tooltip that shows the tags for a reference to the reference link.
* Init method for Initializing the Database.
* Basic CRUD methods.
* Session and Transaction Methods
* for doing operations on an open database
* and/or in a transaction.
* Give Reference a toString() method.
* Pass a whole reference into DisplayPassage.
* Use the toString() method to display that
reference in our passage text.
* Use the same brace style everywhere.
* Use semicolons everywhere.
* Add myself to the authorship for bible ref parsing.
* Don't use try catch blocks when exceptions are impossible.
* Add some returns for completeness sake when the functions return values
elsewhere.
* Functional parsing of the references.
* Parse out a set of tokens divided into start and end sets
* Use those tokens to drive a state machine building the final reference.
* Cleaned up formatting. cuddle those curlies!!!
* Fixed test suite to use the dev version of the lib.