jensarps/IDBWrapper — pull request #3 by Jinjiang (2012-02-16 16:58:38+00:00)
Title: support firefox 10

* chaned `idb.open(dbName, dbVersion)`: changed the second parameter to set version in firefox 10
* added `idbReq.onupgradeneeded` to change version in firefox 10
* added `db.setVersion` checker because db doesn't have this method in firefox 10
* added `JSON.parse` + `JSON.stringify` to clone dataObj which couldn't be cloned directly in firefox 10