()
| 1606 | } |
| 1607 | |
| 1608 | const ozBaseURL = function () { |
| 1609 | if (isOzaria) { |
| 1610 | return '' |
| 1611 | } |
| 1612 | if (!application.isProduction()) { |
| 1613 | return `${document.location.protocol}//ozaria.com` |
| 1614 | } |
| 1615 | // We are on codecombat domain. |
| 1616 | return `${document.location.protocol}//${document.location.host}`.replace(CODECOMBAT, OZARIA).replace(CODECOMBAT_CHINA, OZARIA_CHINA) |
| 1617 | } |
| 1618 | |
| 1619 | const capitalizeFirstLetter = str => (str[0] || '').toUpperCase() + str.slice(1) |
| 1620 |
nothing calls this directly
no outgoing calls
no test coverage detected