polytronicgr / sharpkit

Automatically exported from code.google.com/p/sharpkit
0 stars 0 forks source link

indexedDB not available in window.indexedDB #357

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
window.indexedDB is missing

It is generated at SharpKit.Html.indexeddb.DOMWindow

Original issue reported on code.google.com by Hultqvis...@gmail.com on 14 May 2014 at 9:39

GoogleCodeExporter commented 8 years ago
The result property in IDBRequest is right now if type IDBAny but it should be 
of type IDBDatabase

Original comment by Hultqvis...@gmail.com on 14 May 2014 at 10:06

GoogleCodeExporter commented 8 years ago
As I dig deeper into this part I get the idea that I could rather easy write 
the required classes manually and ignore the generated classes.

I'm thinking of using generics to get typed indexes and other help classes 
currently identified as object.

If that would be preferred to fixing the generated ones I can get on it 
tomorrow.

Original comment by Hultqvis...@gmail.com on 14 May 2014 at 10:25

GoogleCodeExporter commented 8 years ago
window.indexedDB is added using a lot of custom code using generics.
https://code.google.com/p/sharpkit/source/detail?r=1517

Original comment by Hultqvis...@gmail.com on 17 May 2014 at 2:15