axemclion/IndexedDBShim — pull request #13 by vseventer (2012-07-27 14:06:39+00:00)
Title: Automated build, code audit and DOMStringList fix.

To make it easier to use the shim, I've converted the project to use Node.js with [Grunt](https://github.com/cowboy/grunt). Grunt is used to automatically lint and build (concatenate) all modules. Also, I've made the logger.log calls optional, so the production build does not contain any debug statements.

JSHint gave quite a few warnings about undefined variables, mixed spaces and tabs, etc., all of which were easy to fix.

Last, I've implemented a shim for [DOMStringList](https://developer.mozilla.org/en/DOM/DOMStringList) (used in [IDBDatabase#objectStoreNames](http://www.w3.org/TR/IndexedDB/#widl-IDBDatabase-objectStoreNames) and [IDBObjectStore#indexNames](http://www.w3.org/TR/IndexedDB/#widl-IDBObjectStore-indexNames)). This solves the problem you mentioned in your last [blogpost](http://blog.nparashuram.com/2012/07/data-binding-example-indexeddb-polyfill.html), where you had to replace the 'contains' method to 'indexOf'.