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
0c512f85
Commit
0c512f85
authored
Dec 24, 2013
by
Akikonata
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changed function calling
parent
e1d7962a
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
3 deletions
+6
-3
dev.html
demo/dev.html
+2
-2
minder.command.js
src/core/minder.command.js
+1
-0
minder.js
src/core/minder.js
+1
-0
minder.module.js
src/core/minder.module.js
+2
-1
No files found.
demo/dev.html
View file @
0c512f85
...
...
@@ -9,7 +9,7 @@
</body>
<script>
minder
=
new
KityMinder
.
Minder
(
null
,
{
minder
=
new
KityMinder
.
Minder
({
modules
:[
"ExampleModule"
,
"RenderModule"
],
renderTo
:
document
.
body
});
...
...
@@ -41,6 +41,6 @@
}]
}]
});
minder
.
execCommand
(
'renderroot'
);
minder
.
execCommand
(
'renderroot'
,
minder
);
</script>
</html>
\ No newline at end of file
src/core/minder.command.js
View file @
0c512f85
...
...
@@ -23,6 +23,7 @@ kity.extendClass( Minder, {
var
TargetCommand
,
command
,
cmdArgs
,
eventParams
,
stoped
;
TargetCommand
=
this
.
_getCommand
(
name
);
console
.
log
(
TargetCommand
);
if
(
!
TargetCommand
)
{
return
false
;
}
...
...
src/core/minder.js
View file @
0c512f85
...
...
@@ -13,6 +13,7 @@ var MinderDefaultOptions = {};
var
Minder
=
KityMinder
.
Minder
=
kity
.
createClass
(
"KityMinder"
,
{
constructor
:
function
(
options
)
{
this
.
_options
=
options
;
options
=
Utils
.
extend
(
window
.
KITYMINDER_CONFIG
||
{},
MinderDefaultOptions
,
options
||
{}
);
this
.
_initEvents
();
this
.
_initMinder
(
options
);
...
...
src/core/minder.module.js
View file @
0c512f85
...
...
@@ -11,7 +11,8 @@ kity.extendClass( Minder, {
}
return
_list
;
}
)();
var
_configModules
=
this
.
_options
.
modules
||
_modulesList
;
var
_configModules
=
(
this
.
_options
?
this
.
_options
.
modules
:
false
)
||
_modulesList
;
console
.
log
(
_configModules
);
if
(
_modules
)
{
var
me
=
this
;
for
(
var
i
=
0
;
i
<
_configModules
.
length
;
i
++
)
{
...
...
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