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
9bb0158c
Commit
9bb0158c
authored
Dec 23, 2013
by
techird
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
option
parent
f3cc4c73
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
minder.js
src/core/minder.js
+6
-6
No files found.
src/core/minder.js
View file @
9bb0158c
...
...
@@ -13,13 +13,13 @@ var MinderDefaultOptions = {};
var
Minder
=
KityMinder
.
Minder
=
kity
.
createClass
(
"KityMinder"
,
{
constructor
:
function
(
options
)
{
options
=
Utils
.
extend
(
window
.
KITYMINDER_CONFIG
||
{},
MinderDefaultOptions
,
options
||
{}
);
this
.
_
options
=
Utils
.
extend
(
window
.
KITYMINDER_CONFIG
||
{},
MinderDefaultOptions
,
options
||
{}
);
this
.
_initEvents
();
this
.
_initMinder
(
options
);
this
.
_initModules
(
options
);
this
.
_initMinder
();
this
.
_initModules
();
},
_initMinder
:
function
(
option
)
{
_initMinder
:
function
()
{
this
.
_rc
=
new
kity
.
Group
();
this
.
_paper
=
new
kity
.
Paper
();
...
...
@@ -28,8 +28,8 @@ var Minder = KityMinder.Minder = kity.createClass( "KityMinder", {
this
.
_root
=
new
MinderNode
(
this
);
this
.
_rc
.
addShape
(
this
.
_root
.
getRenderContainer
()
);
if
(
option
.
renderTo
)
{
this
.
renderTo
(
option
.
renderTo
);
if
(
this
.
_options
.
renderTo
)
{
this
.
renderTo
(
this
.
_options
.
renderTo
);
}
},
...
...
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