mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-08-29 22:29:40 +02:00
awesome work dialog editor legit
This commit is contained in:
parent
b7f1637562
commit
8086d2b2b1
7 changed files with 476 additions and 111 deletions
|
@ -102,6 +102,7 @@ LevelArbiter.prototype.validateLevel = function(level) {
|
|||
|
||||
_.each(requiredFields, function(field) {
|
||||
if (level[field] === undefined) {
|
||||
console.log(level);
|
||||
throw new Error('I need this field for a level: ' + field);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue