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

Function makeLevelSystem

test/app/factories.coco.js:304–315  ·  view source on GitHub ↗
(attrs, sources)

Source from the content-addressed store, hash-verified

302 },
303
304 makeLevelSystem(attrs, sources) {
305 if (sources == null) { sources = {}; }
306 const _id = _.uniqueId('level_system_');
307 attrs = _.extend({}, {
308 _id,
309 codeLanguage: 'coffeescript',
310 name: _.uniqueId('Level System '),
311 version: makeVersion(),
312 original: _id
313 }, attrs);
314 return new LevelSystem(attrs);
315 }
316
317
318};

Callers

nothing calls this directly

Calls 1

makeVersionFunction · 0.70

Tested by

no test coverage detected