a mock for IndexedDB

https://github.com/szimmers/mock-indexeddb I recently wrote an AngularJS service that wraps IndexedDB and needed to mock it when writing the unit tests. We had the basics for such a mock in-house and I extended it for more in-depth testing. See the github page for the mock. The README contains examples of writing Continue Reading

case study: taking a webapp offline

Overview I recently created an AngularJS-based framework and webapp for a client. The main requirement for this app was that the user be able to have a workflow like this: while at work, log in against a server download documents to fill out quit the browser relaunch the browser in Continue Reading