Re: [w3c/IndexedDB] Remove WebIDL escaping of includes() method (#299)

inexorabletash commented on this pull request.



>  
 request.onupgradeneeded = function() {
   // The database did not previously exist, so create object stores and indexes.
-  var db = request.result;
-  var store = db.createObjectStore("books", {keyPath: "isbn"});
-  var titleIndex = store.createIndex("by_title", "title", {unique: true});
-  var authorIndex = store.createIndex("by_author", "author");
+  const db = request.result;

Oh, crud, that should have been in another branch. I screwed up my branch history. Let me minimize the diff.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/IndexedDB/pull/299#discussion_r327383108

Received on Tuesday, 24 September 2019 00:24:33 UTC