Add: start screen - chart, highest record

This commit is contained in:
2019-07-18 18:35:28 +09:00
parent f79040fed4
commit d788d3e7d0
2 changed files with 47 additions and 26 deletions
+3 -7
View File
@@ -1,7 +1,6 @@
var TypingExamination = {
create: function() {
// for developing
// sessionStorageManager.setMaestroName("삼화초");
// sessionStorageManager.setMaestroID(3);
@@ -14,9 +13,6 @@ var TypingExamination = {
// sessionStorageManager.setPlayingAppKoreanName("타자 검정");
// sessionStorageManager.setRecord(0);
// sessionStorageManager.setAppHighestRecord(100.123);
sessionStorageManager.setPlayingAppName("typing_exam");
sessionStorageManager.setPlayingAppKoreanName("타자 검정");
this.dbService = new DBService();
this.dbService.setMaestroID(sessionStorageManager.getMaestroID());
@@ -220,11 +216,11 @@ var TypingExamination = {
this.inputTextContent.canvasInput.placeHolder("");
// inputTextContent.canvasInput._onkeydown = this.checkInputText;
// inputTextContent.canvasInput._onkeyup = function() {
this.inputTextContent.canvasInput._onkeyup = function() {
self.checkTypingContents(event);
this.inputTextContent.canvasInput._onkeyup = (function() {
this.checkTypingContents(event);
// warning
// : checkTypingContents is called onkeyup and onkeydown
}
}).bind(this);