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
82bfdd81
Commit
82bfdd81
authored
Dec 23, 2013
by
Akikonata
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dev
parent
313cfc12
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
configure.js
src/core/configure.js
+0
-0
kityminder.js
src/core/kityminder.js
+2
-2
render.js
src/module/render.js
+3
-0
No files found.
src/core/configure.js
0 → 100644
View file @
82bfdd81
src/core/kityminder.js
View file @
82bfdd81
...
@@ -55,8 +55,8 @@ kity.extendClass( KityMinder, ( function () {
...
@@ -55,8 +55,8 @@ kity.extendClass( KityMinder, ( function () {
//执行模块初始化,抛出后续处理对象
//执行模块初始化,抛出后续处理对象
var
moduleDeals
=
_modules
[
key
].
call
(
me
);
var
moduleDeals
=
_modules
[
key
].
call
(
me
);
if
(
moduleDeals
.
ready
)
{
if
(
moduleDeals
.
initial
)
{
moduleDeals
.
ready
.
call
(
me
);
moduleDeals
.
initial
.
call
(
me
);
}
}
//command加入命令池子
//command加入命令池子
...
...
src/module/render.js
View file @
82bfdd81
...
@@ -72,6 +72,9 @@ KityMinder.registerModule( "RenderModule", function () {
...
@@ -72,6 +72,9 @@ KityMinder.registerModule( "RenderModule", function () {
// } );
// } );
return
{
return
{
"initial"
:
function
(
config
)
{
},
"commands"
:
{
"commands"
:
{
//todo:command字典,name-action 键值对模式编写
//todo:command字典,name-action 键值对模式编写
"renderroot"
:
RenderRootCommand
"renderroot"
:
RenderRootCommand
...
...
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