I am attempting to set a property to the value of a model's async, hasMany relationship. But I'm not able to return any value within the then function.  App.Athlete = DS.Model.extend({     name: DS.attr('string'),     age: DS.attr(...
I am experimenting with indexeddb, and have some data added to ObjectStore which should have 90 rows.   But I can see only 50 rows in Chrome development tools.   Is it Chrome that limits the rows, or my code is not adding more than 50 rows? For examp...
I have the following code on a (HTML/javascript) Windows Store app  var reqOpen = window.indexedDB.open(that.dbName, that.dbVersion);   The thing is, when I wanted to use that exact code on a (HTML/javascript) Windows Phone 8.1 app I get undefined on...
I want to basic count the number of records in my indexedDB database.   Currently my code looks like   Javascript  var transaction = db.transaction(["data"], "readonly"); var objectStore = transaction.objectStore("data"); var...
I am having trouble with IndexedDB. On Firefox 18, when I create a new database, the onsuccess method is called at the same time has onupgradeneeded. On Chrome 24 (this is the behavior I'd like to get), the onsuccess method is only called after t...
So, I have a main indexedDB objectstore with around 30.000 records on which I have to run full text search queries. Doing this with the ydn fts plugin this generates a second objectstore with around 300.000 records. Now, as generating this 'index...
The following code throws an error in Chrome 35 (but not Firefox 29) if I set buggy to true.  Since I'm pretty new in indexedDB I wanted to ask whether this ought to work or not.  If I delete the database and open it again with version=1, shouldn...
In the following code,  Promise.allSettled( [ entry_save(), save_state(), get_HTML() ] ).then( ... );   promises entry_save and save_state are both readwrite database transactions and get_HTML is readonly. The two readwrite transactions could be comb...
I would like to develop an application which uses a browser to interact with the user. The application is to be available offline and distributable via a zip.  The functions I would like to perform are to be handled by HTML, CSS, JS and I would like...
I want to store pdf files client side in one of the HTML5 storages (indexedDB or localstorage) and then open them later with the adobe reader.  The scenario is as follows:   The user visites my site and downloads a bunch of pdf's into a storage L...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.