You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the example for inserting I see this code:
$indexedDB.openStore('people', (store) ->
store.insert({"ssn": "444-444-222-111","name": "John Doe", "age": 57}).then(function(e){...});
store.getAll().then(function(people) {
// Update scope
$scope.objects = people;
});
I don't know coffee script, but I I've been trying to mke it work in plain js, i converted it to:
On line 705 in angular-indexed-db.js, i try to do a console.log('test') but never appears... I'm new with Angularjs , perhaps my method of research is not good...
In the example for inserting I see this code:
$indexedDB.openStore('people', (store) ->
store.insert({"ssn": "444-444-222-111","name": "John Doe", "age": 57}).then(function(e){...});
store.getAll().then(function(people) {
// Update scope
$scope.objects = people;
});
I don't know coffee script, but I I've been trying to mke it work in plain js, i converted it to:
$indexedDB.openStore('name', function(store){
store.insert({
'_id': shape._id,
'other': other,
'data': shape
});
});
but it doesn't work, any advice?
The text was updated successfully, but these errors were encountered: