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%[email protected]>
>

-- 
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]

Reply via email to