Add hotkey to go to next challenge/bonfire from completion modal, keep editor in focus on exiting completion modal, allow for courseware to theoretically work in production and development.

This commit is contained in:
Michael Q Larson
2015-02-06 16:55:48 -08:00
parent 319b537e5b
commit 4f9474bc3a
9 changed files with 54 additions and 194 deletions

View File

@@ -0,0 +1,15 @@
(function() {
var allTestsGood = true;
var expect = chai.expect;
try {
eval(parent.allTests);
} catch (err) {
console.log(err);
allTestsGood = false;
} finally {
if (allTestsGood) {
parent.postMessage('CompleteAwesomeSauce', parent.nodeEnv);
}
}
})();