버그 수정

This commit is contained in:
2019-10-09 03:19:50 +09:00
parent 25837f6393
commit 48cac053fd
17 changed files with 240 additions and 189 deletions
+8 -1
View File
@@ -54,7 +54,14 @@ $('#commonSubmit').click(function(){
return parseInt($obj.eq(0).val());
},
'boolean':function($obj){
return !!($obj.eq(0).val());
switch ($obj.eq(0).val().toLowerCase()) {
case "true": case "yes": case "1":
return true;
case "false": case "no": case "0":
return false;
default:
throw new Error ("Boolean.parse: Cannot convert string to boolean.");
}
},
'integerArray':function($obj){
return $obj.map(function(){