Hi

> Also the console shows a warning:
>
> "Warning: This site adds property <extend> to Object.prototype.

If you have some tool saying that, it's a bug in the tool. Prototype
doesn't add anything to `Object.prototype` (for the very reason given
in the error). Prototype *does* add `extend` and 15 other functions to
`Object`, which is a *very* different thing (and doesn't break
`for..in` loops).

> Iam getting the javascript errors if I use prototype.js

What other errors are you getting? I'd be pretty surprised if just
having Prototype loaded would break Google maps' code. They'd pretty
much have to be doing `for..in` on *array* instances without proper
safeguards, and I doubt they're doing that.

HTH,
--
T.J. Crowder
Independent Software Engineer
tj / crowder software / com
www / crowder software / com


On May 7, 10:45 am, venu <[email protected]> wrote:
> Iam getting the javascript errors if I use prototype.js
>
> Also the console shows a warning:
>
> "Warning: This site adds property <extend> to Object.prototype.
> Extending Object.prototype breaks JavaScript for..in loops, which are
> used heavily in Google Maps API v3."
>
> Please help me out

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" 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/prototype-scriptaculous?hl=en.

Reply via email to