2150 |
mathias |
1 |
if(!dojo._hasResource["dojox.storage._common"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
|
|
|
2 |
dojo._hasResource["dojox.storage._common"] = true;
|
|
|
3 |
dojo.provide("dojox.storage._common");
|
|
|
4 |
dojo.require("dojox.storage.Provider");
|
|
|
5 |
dojo.require("dojox.storage.manager");
|
|
|
6 |
|
|
|
7 |
dojo.require("dojox.storage.GearsStorageProvider");
|
|
|
8 |
|
|
|
9 |
// FIXME: Find way to set isGears from offline.profile.js file; it didn't
|
|
|
10 |
// work for me
|
|
|
11 |
//dojo.requireIf(!dojo.isGears, "dojox.storage.FlashStorageProvider");
|
|
|
12 |
//dojo.requireIf(!dojo.isGears, "dojox.storage.WhatWGStorageProvider");
|
|
|
13 |
|
|
|
14 |
// now that we are loaded and registered tell the storage manager to
|
|
|
15 |
// initialize itself
|
|
|
16 |
dojox.storage.manager.initialize();
|
|
|
17 |
|
|
|
18 |
}
|