MCPcopy Create free account
hub / github.com/codecombat/codecombat / data

Function data

app/views/editor/verifier/i18nVerifierView.js:24–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22const I18nVerifierComponent = Vue.extend({
23 template: require('app/templates/editor/verifier/i18n-verifier-view')(),
24 data () {
25 return {
26 allLocales: Object.keys(locale).concat('rot13'),
27 language: 'en',
28 levelSlug: null,
29 startDay: moment(new Date()).subtract(2, 'weeks').format('YYYY-MM-DD'),
30 endDay: moment(new Date()).format('YYYY-MM-DD'),
31 partialThreshold: 1,
32 completeThreshold: 99,
33 countThreshold: 0,
34 totalCount: 0,
35 messageOrHint: utils.getQueryVariable('messageOrHint') || 'message',
36 me,
37 serverConfig,
38 problemsByLevel: {},
39 regexes: [],
40 otherRegexes: [],
41 displayMode: utils.getQueryVariable('displayMode') || 'human-readable',
42 showCampaigns: false,
43 showLevels: false,
44 showTranslated: true,
45 showUntranslated: true,
46 campaigns: [],
47 selectedCampaign: null,
48 selectedLevelSlugs: [],
49 loading: true
50 }
51 },
52 computed: {
53 exportList () {
54 return _(this.problems).filter(p => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected