Commit 47715138 authored by techird's avatar techird

dev

parent 12061327
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* 模块初始化函数:模块名称大写,以 Module 作为后缀 * 模块初始化函数:模块名称大写,以 Module 作为后缀
*/ */
KityMinder.registerModule( "ExampleModule", function () { KityMinder.registerModule( "ExampleModule", function () {
console.log( "You can cheat: 上下左右ABAB" ); //console.log( "You can cheat: 上下左右ABAB" );
// TODO: 初始化模块静态变量 // TODO: 初始化模块静态变量
var cheatCode = "38 40 37 39 65 66 65 66".split( ' ' ); var cheatCode = "38 40 37 39 65 66 65 66".split( ' ' );
......
...@@ -104,7 +104,8 @@ KityMinder.registerModule( "KeyboardModule", function () { ...@@ -104,7 +104,8 @@ KityMinder.registerModule( "KeyboardModule", function () {
case 8: case 8:
case 46: case 46:
// Backspace or Delete // Backspace or Delete
this.execCommand( 'removeNode', sNodes );
break;
case 37: case 37:
case 38: case 38:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment