webcss / angular-indexedDB

An angularjs serviceprovider to utilize indexedDB with angular
149 stars 99 forks source link

Picked up a few unapplied resolve()'s / Use $apply #7

Closed shangxiao closed 10 years ago

shangxiao commented 10 years ago

When attempting to use getAll() on Chrome, I noticed that the deferred was not being resolved correctly and noticed that it was not within a $timeout block.

Also converted all $timeout blocks to use $apply instead as the preferred way of running code from outside a digest loop.