captbaritone / captbaritone/datejs
Conflict with Google Maps search bar
- Dominant language
- JavaScript
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
```
What steps will reproduce the problem?
1. Include datejs library
2. Include a google maps canvas
3. Enable google bar
What is the expected output? What do you see instead?
Search in google bar should work, but it does nothing. This is the error
which is printed in the browser console:
format.replace is not a function
[Break on this error] return
w;};Date.prototype.isDST=function...ase"z":return"";}}):this._toString();};\n
Please provide any additional information below.
The problem is that you are modifying the global Date, adding a
toString(format) method to it. Then Google guys do the same, and there is
a conflict.
```
Original issue reported on code.google.com by `webspect...@gmail.com` on 16 Feb 2010 at 8:23
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.