-
Bug
-
Resolution: Fixed
-
Medium
-
3.1.5
-
Severity 3 - Minor
-
NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.
Team Calendars currently adds an indexOf function to the array prototype.
Like so:
}if(!Array.prototype.indexOf){Array.prototype.indexOf=function(B){for(var A=0;"...
This means that anybody developing against an instance with TC on can easily introduce bugs like https://jira.atlassian.com/browse/CONF-30863 by relying on the existence of indexOf.
(It also makes QAing confusing).
- relates to
-
CONFCLOUD-49930 Stop shimming indexOf
-
- Closed
-
That is weird, I don't remember us adding anything like that. Might be a library, or faulty human memory.