Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
MediaWiki:Gadget-personaldata.js
(view source)
Revision as of 22:20, 18 May 2019
24 bytes removed
,
5 years ago
m
no edit summary
Line 61:
Line 61:
function(resolve, reject) {
function(resolve, reject) {
−
var pddb =
await
window.indexedDB.open(pddbname, 3);
+
var pddb = window.indexedDB.open(pddbname, 3);
var inp_obj;
var inp_obj;
pddb.onupgradeneeded = function() {
pddb.onupgradeneeded = function() {
Line 88:
Line 88:
if ( sqitch === "aggressive push" ) {
if ( sqitch === "aggressive push" ) {
inp_obj = record;
inp_obj = record;
−
await
store.put( inp_obj );
+
store.put( inp_obj );
return inp_obj;
return inp_obj;
} else if ( sqitch === "checkin" ) {
} else if ( sqitch === "checkin" ) {
Line 98:
Line 98:
console.log("overriding whatever in there");
console.log("overriding whatever in there");
inp_obj = record;
inp_obj = record;
−
await
store.put(inp_obj);
+
store.put(inp_obj);
}
}
Line 168:
Line 168:
};
};
−
await
tx.oncomplete = function() {
+
tx.oncomplete = function() {
console.log("return 1")
console.log("return 1")
db.close();
db.close();
Abel
530
edits
Navigation menu
Personal tools
Log in
Request account
Namespaces
Message
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
New Item
New Property
All items
All properties
All pages
Active Users
SAR service dev
Query Service
Maintenance
Administrator
Tools
Special pages
Printable version
Interaction
Community portal
WebXray
Recent changes
Contact Page
Telegram
Discourse forum
MyData Slack