On Feb 23, 4:16 pm, Yves <[email protected]> wrote:
> On 23 Feb., 21:52, Esa <[email protected]> wrote:
>
> > The recommended document type by the documentation is HTML5
> >   <!DOCTYPE html>
>
> > If you mean pure XHTML with media type 'application/xhtml+xml'. I know
> > that is very fragile but why even try to use it?
>
> It will reveal any mistake I make writing the page, like forgetting to
> close a <div> and wondering why it all looks so weird. And it allows
> for other nice features like embedding MathML or SVG.
>
> > Touching prototype of native Object is also very fragile and basically
> > forbidden by most javascript gurus I have read. It can break anything.
>
> But why should it? And if I choose a free name for the new function,
> then why should anybody bother? Google Maps API must be investigating
> its environment and actively decide to break if anything is
> "modified". Different browsers define different functions, too, and it
> shouldn't break.

Don't think so.  You are the one that is breaking the behavior of the
environment by changing the prototype of Object.

  -- Larry

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to