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

Function useChina

app/core/application.js:179–179  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

177
178 featureMode: {
179 useChina () { return api.admin.setFeatureMode('china').then(() => document.location.reload()) },
180 useBrainPop () { return api.admin.setFeatureMode('brain-pop').then(() => document.location.reload()) },
181 clear () { return api.admin.clearFeatureMode().then(() => document.location.reload()) }
182 },

Callers

nothing calls this directly

Calls 1

reloadMethod · 0.80

Tested by

no test coverage detected