yathit / ydn-db

Javascript database module for Indexeddb, Web SQL and localStorage storage mechanisms supporting version migration, advanced query, SQL and transaction.
Apache License 2.0
503 stars 41 forks source link

Non-minified version of YDN-DB #77

Closed gabrielmaldi closed 9 years ago

gabrielmaldi commented 9 years ago

Could you provide a single-file version of YDN-DB which is non-minified, contains comments, etc.? This is very helpful while developing because it allows stepping into the source code. It would also allow for not including the source map (which in fact doesn't work, at least in Chrome, because it contains references to files in raw.github.com).

Thanks!

yathit commented 9 years ago

Sorry, I could not help with concentrating file. My suggestion for library developer is, load raw files as in unit test files. It will load hundred of files, but never give trouble and always run fast. With concentration, there is extra step.

For library user, use minified file. Don't debug, the library is pretty bug free. If there is a bug, file an issue, preferable with reproducible steps or unit test.

gabrielmaldi commented 9 years ago

Thank you for your answer. One more question: what's the difference between these two files:

screen shot 2015-08-19 at 12 39 13 pm
yathit commented 9 years ago

dev version have assertion and helpful message.