MCPcopy Index your code
hub / github.com/codecombat/codecombat / home

Method home

app/core/Router.js:259–269  ·  view source on GitHub ↗
(...args)

Source from the content-addressed store, hash-verified

257
258 'play/hoc-2020' () { return this.navigate('/play/hoc-2018', { trigger: true, replace: true }) }, // Added to handle HoC PDF
259 home (...args) {
260 if (utils.isCodeCombat && me.useChinaHomeView()) {
261 return go('HomeCNView').call(this, ...args)
262 } else {
263 if (utils.isCodeCombat) {
264 return this.routeDirectly('HomeBeta', [], { vueRoute: true, baseTemplate: 'base-flat-vue' })
265 } else {
266 return this.routeDirectly('HomeView', [])
267 }
268 }
269 },
270
271 i18n: go('i18n/I18NHomeView'),
272 'i18n/thang/:handle': go('i18n/I18NEditThangTypeView'),

Callers

nothing calls this directly

Calls 3

routeDirectlyMethod · 0.95
goFunction · 0.85
useChinaHomeViewMethod · 0.80

Tested by

no test coverage detected