Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kityminder-core
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
吴志俊
kityminder-core
Commits
47715138
Commit
47715138
authored
Jan 03, 2014
by
techird
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dev
parent
12061327
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
_example.js
src/module/_example.js
+1
-1
keyboard.js
src/module/keyboard.js
+2
-1
No files found.
src/module/_example.js
View file @
47715138
...
...
@@ -2,7 +2,7 @@
* 模块初始化函数:模块名称大写,以 Module 作为后缀
*/
KityMinder
.
registerModule
(
"ExampleModule"
,
function
()
{
console
.
log
(
"You can cheat: 上下左右ABAB"
);
//
console.log( "You can cheat: 上下左右ABAB" );
// TODO: 初始化模块静态变量
var
cheatCode
=
"38 40 37 39 65 66 65 66"
.
split
(
' '
);
...
...
src/module/keyboard.js
View file @
47715138
...
...
@@ -104,7 +104,8 @@ KityMinder.registerModule( "KeyboardModule", function () {
case
8
:
case
46
:
// Backspace or Delete
this
.
execCommand
(
'removeNode'
,
sNodes
);
break
;
case
37
:
case
38
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment