offline: properly initialize localStore
This commit is contained in:
parent
7a1ecd3983
commit
7bed756555
|
@ -974,6 +974,9 @@ function init_gears() {
|
||||||
if (window.google && google.gears) {
|
if (window.google && google.gears) {
|
||||||
localServer = google.gears.factory.create("beta.localserver");
|
localServer = google.gears.factory.create("beta.localserver");
|
||||||
store = localServer.createManagedStore("tt-rss");
|
store = localServer.createManagedStore("tt-rss");
|
||||||
|
store.manifestUrl = "manifest.json";
|
||||||
|
store.checkForUpdate();
|
||||||
|
|
||||||
db = google.gears.factory.create('beta.database');
|
db = google.gears.factory.create('beta.database');
|
||||||
db.open('tt-rss');
|
db.open('tt-rss');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue