4 display: "game", //default: play!
5 problem: undefined, //current problem in view
8 toggleDisplay: function(elt
) {
9 this.display
= elt
; //show
11 showProblem: function(problemTxt
) {
12 this.problem
= JSON
.parse(problemTxt
);
13 this.display
= "game";