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/jsmentors@jsmentors.com/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/jsmentors@googlegroups.com/

To unsubscribe from this group, send email to
jsmentors+unsubscr...@googlegroups.com

Reply via email to