mirror of
https://github.com/wassname/Clover-Edition.git
synced 2026-10-02 11:50:36 +08:00
added code for reading and writing tree data
This commit is contained in:
1 parent
7e55a8ad21
commit
c01eb5c91f
9 files changed
+169
-85
No files matched your search
+6
-4
@@ -69,10 +69,10 @@ var Typer={
|
||||
evt = evt || window.event
|
||||
var charCode = evt.keyCode || evt.which
|
||||
if(charCode == 8){
|
||||
if(inputStr.length > 0){
|
||||
console.log(inputStr)
|
||||
inputStr = inputStr.substring(0, inputStr.length-1)
|
||||
console.log(inputStr)
|
||||
if(Typer.inputStr.length > 0){
|
||||
console.log(Typer.inputStr)
|
||||
Typer.inputStr = Typer.inputStr.substring(0, Typer.inputStr.length-1)
|
||||
console.log(Typer.inputStr)
|
||||
Typer.removeChar()
|
||||
}
|
||||
}
|
||||
@@ -98,6 +98,8 @@ var Typer={
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
|
||||
function onButtonClick(num){
|
||||
|
||||
document.getElementById('buttons').style.visibility='hidden';
|
||||
|
||||
Reference in new issue
Block a user