Thank you for your comment. Probably I wasn't clear. This is wrapper for File API both File Reader and File Writer, but the first goal was to deal with FileSystem.
However I add simple support for reading files that was put using d-n- d or input. I'll add more functionality in this direction. Best regads, Anton Podviaznikov On Jan 31, 7:08 pm, Andrew Dodson <[email protected]> wrote: > Hi Anton > > I'm not sure whats right or wrong anymore but seeing as your test page > didn't cover what i thought the only thing the File API was good. I have a > question. > Does it process dataTrasfer.files from a drag event? > > FYI: I've tried to replicate the FILE API for some old (and some not so old) > browsers,http://sandbox.knarly.com/js/dropfiles/ thoughts are welcome. > > A > > On Mon, Jan 31, 2011 at 5:32 PM, Anton Podviaznikov > <[email protected]>wrote: > > > > > > > > > Hello everybody. This is my first post in this group. > > > I'm learning JavaScript and as almost everybody decided to write small > > library. My library is kind of wrapper for the HTML (5) File API. > > > It is not complete and it's not for production. I used it just in > > Chrome Web App. > > > I'm interested in some feedback (not for the library itself) for the > > code. If you can quickly point me to some big error or make > > suggestions it would be very helpful for me. > > > Also I have few questions: > > 1. I wanted few of my method be private. I know there are some > > patters, but what is the best in my case? Do you have any quick link? > > 2. I extended native FIle and FileError objects. Is it normal? Is it > > good style? How you will do this? > > 3. What is the better way to write tests for these kind of libs. > > 4. Is it ok that I reference to global window object? > > > Library (or better some utility methods) can be found here: > >https://github.com/podviaznikov/fs.js/blob/master/fs.js. > > > Thank you for your time and for any critics/suggestions. > > > Best regards, > > > Anton Podviaznikov > > > -- > > To view archived discussions from the original JSMentors Mailman list: > > http://www.mail-archive.com/[email protected]/ > > > To search via a non-Google archive, visit here: > >http://www.mail-archive.com/[email protected]/ > > > To unsubscribe from this group, send email to > > [email protected]<jsmentors%2Bunsubscribe@googlegroups > > .com> -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/[email protected]/ To search via a non-Google archive, visit here: http://www.mail-archive.com/[email protected]/ To unsubscribe from this group, send email to [email protected]
