Re: Starting work on Indexed DB v2 spec - feedback wanted

2014-04-19 Thread Jake Verbaten
especially as your application grows more complex or simply if the user has your application open in two separate tabs. The two tabs use case is an interesting point. Currently as I understand the leveldb interface avoids this problem by saying only one process can open a database. Not quite

Re: Starting work on Indexed DB v2 spec - feedback wanted

2014-04-18 Thread Jake Verbaten
https://gist.github.com/maxogden/11031041 Replying on behalf of maxogden who can't seem to get access to the mailing list. On Thu, Apr 17, 2014 at 1:56 PM, Joshua Bell jsb...@google.com wrote: On Thu, Apr 17, 2014 at 1:22 PM, Tim Caswell t...@creationix.com wrote: Personally, the main thing

Re: Starting work on Indexed DB v2 spec - feedback wanted

2014-04-17 Thread Jake Verbaten
The level / node.js community already build a prototype on top of IDB ( https://github.com/maxogden/level.js ) It supports: open(name) get(key) = Uint8Array del(key) put(key, Uint8Array) batch(Array{ type: 'put' or 'del', key: String, value: Uint8Array}) iterator({ start: String, key:

Re: What type should .findAll return

2011-11-11 Thread Jake Verbaten
As a web developer, having DOM methods which return real arrays so we no longer have to call `toArray(nodeList)` or `[].slice.call(nodeList)` would be awesome. On Fri, Nov 11, 2011 at 9:05 AM, Jonas Sicking jo...@sicking.cc wrote: Hi All, So, we've debated a lot the exact syntax for

Re: What type should .findAll return

2011-11-11 Thread Jake Verbaten
On Fri, Nov 11, 2011 at 3:46 PM, Tab Atkins Jr. jackalm...@gmail.comwrote: On Fri, Nov 11, 2011 at 1:05 AM, Jonas Sicking jo...@sicking.cc wrote: And to ensure that the object acts as much as possible as an array it should also have it's [[Class]] set to that of an array. This has subtle