On Tue, Oct 25, 2011 at 12:53 PM, Ojan Vafai <[email protected]> wrote: > The new API is smaller and simpler. Less to implement and less for web > developers to understand. If it can meet all our use-cases without > significant performance problems, then it's a win and we should do it. > > For line-endings, you could have the Blob constructor also take an optional > endings argument: > new Blob(String|Array|Blob|ArrayBuffer data, [optional] String contentType, > [optional] String endings);
I believe (or at least, I maintain) that we're trying to do dictionaries for this sort of thing. Multiple optional arguments are *horrible* unless they are truly, actually, order-dependent such that you wouldn't ever specify a later one without already specifying a former one. ~TJ
