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
94ba87d1
Commit
94ba87d1
authored
Dec 23, 2013
by
Akikonata
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dev
parent
360c83bf
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
5 deletions
+6
-5
.jshintrc
.jshintrc
+1
-0
dev.html
demo/dev.html
+4
-2
minder.module.js
src/core/minder.module.js
+1
-2
minder.node.js
src/core/minder.node.js
+0
-1
No files found.
.jshintrc
View file @
94ba87d1
...
@@ -9,6 +9,7 @@
...
@@ -9,6 +9,7 @@
"quotmark": false,
"quotmark": false,
"predef" : [
"predef" : [
"kity",
"kity",
"KityMinder",
"MinderNode",
"MinderNode",
"MinderEvent",
"MinderEvent",
"Minder",
"Minder",
...
...
demo/dev.html
View file @
94ba87d1
...
@@ -9,7 +9,9 @@
...
@@ -9,7 +9,9 @@
</body>
</body>
<script>
<script>
minder
=
new
km
.
KityMinder
();
minder
=
new
km
.
KityMinder
(
null
,{
modules
:[
"test"
,
"test1"
,
"test2"
]
});
minder
.
importData
({
minder
.
importData
({
data
:
{
data
:
{
...
@@ -38,6 +40,6 @@
...
@@ -38,6 +40,6 @@
}]
}]
}]
}]
});
});
minder
.
update
(
);
minder
.
execCommand
(
'rendertree'
,
node
);
</script>
</script>
</html>
</html>
\ No newline at end of file
src/core/minder.module.js
View file @
94ba87d1
...
@@ -11,7 +11,6 @@ kity.extendClass( Minder, {
...
@@ -11,7 +11,6 @@ kity.extendClass( Minder, {
}
}
}
)();
}
)();
var
_configModules
=
this
.
option
.
modules
||
_modulesList
;
var
_configModules
=
this
.
option
.
modules
||
_modulesList
;
var
_commands
=
this
.
_commands
;
if
(
_modules
)
{
if
(
_modules
)
{
var
me
=
this
;
var
me
=
this
;
for
(
var
i
=
0
;
i
<
_configModules
.
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
_configModules
.
length
;
i
++
)
{
...
@@ -27,7 +26,7 @@ kity.extendClass( Minder, {
...
@@ -27,7 +26,7 @@ kity.extendClass( Minder, {
var
moduleDealsCommands
=
moduleDeals
.
commands
;
var
moduleDealsCommands
=
moduleDeals
.
commands
;
if
(
moduleDealsCommands
)
{
if
(
moduleDealsCommands
)
{
for
(
var
_keyC
in
moduleDealsCommands
)
{
for
(
var
_keyC
in
moduleDealsCommands
)
{
_commands
[
_keyC
]
=
moduleDealsCommands
[
_keyC
];
this
.
_commands
[
_keyC
]
=
moduleDealsCommands
[
_keyC
];
}
}
}
}
...
...
src/core/minder.node.js
View file @
94ba87d1
...
@@ -25,7 +25,6 @@ kity.extendClass( Minder, {
...
@@ -25,7 +25,6 @@ kity.extendClass( Minder, {
},
},
update
:
function
(
node
)
{
update
:
function
(
node
)
{
this
.
execCommand
(
'renderroot'
,
node
);
return
this
;
return
this
;
}
}
...
...
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