webcss / angular-indexedDB

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

$asc() and $desc() use deprecated constants #40

Open JackoPlane opened 10 years ago

JackoPlane commented 10 years ago

As per this Mozilla bug, PREV, NEXT, PREVUNIQUE and NEXTUNIQUE are deprecated. This can cause issues in Google Chrome due to the way Chrome implements the IndexedDB specification:

Be careful in Chrome as it still implements the old specification along the new one. Similarly it still has the prefixed webkitIndexedDB property even if the unprefixed indexedDB is present.

JackoPlane commented 10 years ago

On deeper inspection, the root cause of $asc() and $desc() not apply any results is due to the change from ".order" and ".direction". Will submit pull request.

bramski commented 10 years ago

Will this be an issue in the new codebase @JackoPlane ? Please re-open this issue over there if that is the case.