UNPKG

dojox

Version:

Dojo eXtensions, a rollup of many useful sub-projects and varying states of maturity – from very stable and robust, to alpha and experimental. See individual projects contain README files for details.

8 lines (7 loc) 232 B
define(["./db/has!indexeddb?./db/IndexedDB:./db/SQL"], function(LocalDB){ // summary: // The module defines an object store based on local database access // ./db/IndexDB if detected or ./db/SQL otherwise return LocalDB; });