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
3bf2700e
Commit
3bf2700e
authored
Dec 23, 2013
by
Akikonata
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dev
parent
3cb3e8bc
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
dev.html
demo/dev.html
+1
-1
minder.command.js
src/core/minder.command.js
+5
-2
minder.module.js
src/core/minder.module.js
+1
-0
No files found.
demo/dev.html
View file @
3bf2700e
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
</body>
</body>
<script>
<script>
minder
=
new
KityMinder
.
Minder
(
null
,{
minder
=
new
KityMinder
.
Minder
(
null
,{
modules
:[
"ExampleModule"
]
});
});
minder
.
importData
({
minder
.
importData
({
...
...
src/core/minder.command.js
View file @
3bf2700e
...
@@ -21,9 +21,12 @@ kity.extendClass( Minder, {
...
@@ -21,9 +21,12 @@ kity.extendClass( Minder, {
},
},
execCommand
:
function
(
name
)
{
execCommand
:
function
(
name
)
{
var
me
=
this
;
var
me
=
this
;
var
_action
=
this
.
_getCommand
(
name
);
var
Action
=
this
.
_getCommand
(
name
);
if
(
!
_action
)
{
var
_action
;
if
(
!
Action
)
{
return
false
;
return
false
;
}
else
{
_action
=
new
Action
();
}
}
var
cmdArgs
=
Array
.
prototype
.
slice
.
call
(
arguments
,
1
);
var
cmdArgs
=
Array
.
prototype
.
slice
.
call
(
arguments
,
1
);
...
...
src/core/minder.module.js
View file @
3bf2700e
...
@@ -9,6 +9,7 @@ kity.extendClass( Minder, {
...
@@ -9,6 +9,7 @@ kity.extendClass( Minder, {
for
(
var
key
in
_modules
)
{
for
(
var
key
in
_modules
)
{
_list
.
push
(
key
);
_list
.
push
(
key
);
}
}
return
_list
;
}
)();
}
)();
var
_configModules
=
option
.
modules
||
_modulesList
;
var
_configModules
=
option
.
modules
||
_modulesList
;
if
(
_modules
)
{
if
(
_modules
)
{
...
...
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